How can I generate an HTML page containing JavaScript code by applying an XSL to an XML file? I want JavaScript variables to be populated by values fetched from the XML file.

Brian Ewins

You can include code like:

<script language="javascript" >

foo='<xsl:value-of select="/xpath/for/foovalue"/>' </script>

in your XSL.
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact