W3C home > Mailing lists > Public > xsl-editors@w3.org > April to June 2002

Re: section 14.1

From: cutlass <cutlass@secure0.com>
Date: Tue, 2 Apr 2002 13:59:48 +0100
Message-ID: <006601c1da46$4501b430$9c01a8c0@ROSEBUD>
To: <xsl-editors@w3.org>

----- Original Message -----
From: "Kay, Michael" <Michael.Kay@softwareag.com>
> > One
> > concern that I
> > have that does still not seem to be addressed is the ability to
reference
> > nodes in the principal source document while processing a
> > node-set loaded using the document() function.
>
> The conventional (XSLT 1.0) solution to this is to declare a global
> variable:
>
> <xsl:variable name="root" select="/"/>
>
> which means that the principal source document can be referenced anywhere
as
> $root. This solution remains available in XSLT 2.0.
>
> We have also been looking at the possibility of providing a function
called
> input() which provides access to the "input collection" (which may default
> to being simply the principal source document, or may be a generalization
of
> this concept). The semantics of this still need a little work.

as mentioned in previous posts, some work has been done in this direction,
re the transquery specification ( www.transquery.org )

and I think it would extremely valuable to adopt something like this as
native xslt.

especially in promoting adoption with developers outside of XSLT, to provide
a simple input collection hook.

cheers, jim fuller
Received on Tuesday, 2 April 2002 07:56:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:53 GMT