This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: xsl and <Div> tags - urgent please help


Again a problem with WD-XSL, change to XSLT standard. A <xsl:script/> 
doesn't exist. And where do you want to write the closing </DIV>? Either 
you put it out as normal Javascript (with escaping the <, not the /):

<xsl:text>document.write("&lt;/DIV>");</xsl:text>

or you do it with normal XML. But for help with this you must provide 
more information. And change your xsl-namespace to 
"http://www.w3.org/1999/XSL/Transform";.

Regards,

Joerg

Aparna Konduri schrieb:
> Thanks. Can I know why the following gives an error? How to close a tag inside <xsl:script>?
> 
> <xsl:script>
> document.write("<\/DIV>"); 
> </xsl:script>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]