Subject: RE: [xsl] XSLT merge documents into variable From: Michael Kay <mike@xxxxxxxxxxxx> Date: Fri, 10 Aug 2007 17:23:00 +0100 |
> I'm not familiar with the restrictions of 1.0, but could you > not simply do this? > > <xsl:template match="/"> > <xsl:variable name="merged-docs"> > <xsl:apply-templates select="files"/> > </xsl:variable> > > ... Do what ever with $merged-docs from here.... > </template> In XSLT 1.0 you need the xx:node-set() extension in order to do anything useful with $merged-docs (the infamous result-tree-fragment restriction). Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSLT merge documents into, Angela Williams | Thread | [xsl] Using Saxon to do XSL transfo, Adam Schweitzer |
RE: [xsl] XSLT merge documents into, Angela Williams | Date | [xsl] Using Saxon to do XSL transfo, Adam Schweitzer |
Month |