Subject: Re: [xsl] xsl:apply-templates in javascript From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 25 May 2005 11:32:09 -0400 |
Cheers, Wendell
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.
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xsl:apply-templates in javasc, Brandon Borkholder | Thread | Re: [xsl] xsl:apply-templates in ja, Wendell Piez |
[xsl] [ANN] Xml2PDF version 2.3 is , Altsoft Xml2PDF | Date | RE: [xsl] output to two files with , Michael Kay |
Month |