xsl-list
[Top] [All Lists]

Re: [xsl] node kind of result tree

2013-01-21 01:33:02
G. Ken Holman wrote:
At 2013-01-20 20:36 -0300, Max Toro wrote:

  Hi,

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.

If your transformation is creating a variable, the choice is yours.

  I am not sure we are talking about the same thing here.  If I am
right the OP asks about the result of the transform as a whole, which
is indeed a set of result trees.  If the result sequence of the
initial template is not a document node, then it is added to a new
document node.

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/

--~------------------------------------------------------------------
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>