|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl:apply-templates in javascript
I know, this has been solved, but what I'm looking for is an easy way to
transition into it.
I want to
document.write('<xsl:apply-templates select=3D3D"path/to/node" />');But obviously XSL will create a node set. I know the correct method is to escape the < characters with <, but how can you implement this properly with a template? I've read of the "serialise" method that will apply a template that puts < between <xsl:text /> tags and recursively calls the template. But that won't actually give me the html. How can I (without actually rewriting all my templates) escape and insert the html into the javascript. Or maybe there's a better way to dynamically load a section of the document, which I would like.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








