Subject: Re: [xsl] Result tree fragment to string? From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Wed, 27 Aug 2008 19:55:47 +0200 |
Hmm... could he do something like:
<xsl:variable name="xml"> <xsl:call-template name="serialize-tree"> <xsl:with-param name="nodes" select="$result-tree" /> </xsl:call-template> </xsl:variable>
<xsl:template name="serialize-tree"> <xsl:param name="nodes" /> <xsl:apply-templates select="$nodes" mode="serialize" />
The above doesn't handle namespaces, processing-instructions, comments, or mixed content, but it could be hacked to do so. Is there a reason why this approach would not work in XSL 1.0 to satisfy his needs?
Martin Honnen http://JavaScript.FAQTs.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Result tree fragment to s, Houghton,Andrew | Thread | RE: [xsl] Result tree fragment to s, Houghton,Andrew |
RE: [xsl] Result tree fragment to s, Garriss Jr., James P | Date | RE: [xsl] Result tree fragment to s, Houghton,Andrew |
Month |