Re: [xsl] node kind of result tree

Subject: Re: [xsl] node kind of result tree
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Mon, 21 Jan 2013 07:32:41 +0000 (GMT)
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/

Current Thread