[thelist] Javascript Error

Stevenson N ngilas2003 at yahoo.com
Mon Sep 1 05:06:05 CDT 2003


I am doing the following:
 

var oItem = document.createElement( '<xsl:element name="mytree:treenode"><xsl:attribute name="text">Config</xsl:attribute></xsl:element>' );



oTreeView.appendChild( oItem );

where oTreeView is : 

<xsl:element name="mytre:treeview">

<xsl:attribute name="id">oTree</xsl:attribute>

<xsl:attribute name="def ultstyl ">font-family: Arial, Sans-serif; font-size:8pt;</xsl:attribute>

</xsl:element>

and i get the error below:

"unexpected call to method or property access"
 
What could be causing the error? What's the solution?
 
Please assist. 


---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!


More information about the thelist mailing list