xsl-list
[Top] [All Lists]

Re: [xsl] node kind of result tree

2013-01-21 16:11:12
On 1/20/2013 6:36 PM, Max Toro wrote:
Excluding the use of xsl:result-document, is the result of an XSLT
transformation always a document-node() ?

The spec talks about result trees, but couldn't figure out if the tree
is always rooted at a document-node() or if a tree rooted at an
element() is allowed.

Hm - it is also possible to produce a sequence of "result-trees". I guess each one would be a document-node(), or be wrapped in one:

<xsl:template match="/">
  <xsl:copy-of select="*" />
  <xsl:copy-of select="*" />
</xsl:template>

would produce a sequence of two documents, as I understand it

-Mike

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>