Subject: Re: [xsl] node kind of result tree From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Sun, 20 Jan 2013 18:50:59 -0500 |
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.
- atomic sequence - node sequence - temporary tree - node set
<xsl:variable name="v1"> <test><abc/></test> </xsl:variable>
<xsl:variable name="v2" as="node()"> <test><abc/></test> </xsl:variable>
-- Contact us for world-wide XML consulting and instructor-led training Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: node kind of result tree, Max Toro | Thread | Re: [xsl] node kind of result tree, Florent Georges |
[xsl] Re: node kind of result tree, Max Toro | Date | Re: [xsl] How to make a xsl:functio, Toshihiko Makita |
Month |