Re: [xsl] Pattern "node()" and document nodes

Subject: Re: [xsl] Pattern "node()" and document nodes
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Thu, 25 Feb 2010 18:48:30 +0000 (GMT)
Dimitre Novatchev wrote:

> No, because, there is no way to issue
> that would process a document node

  Well, without
@select that's true, but:

    <xsl:variable name="doc">
    <xsl:apply-templates select="$doc"/>

xsl:apply-templates is not the only way to apply rules
to a node.  Most of my
transforms actually apply rules to a
document node: the transform itself, with
an source document, is
defined as the result of applying the rule to the
document node
for this source ;-)


Florent Georges

Current Thread