[xsl] Re: refering to internal xml data

Subject: [xsl] Re: refering to internal xml data
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Sat, 22 Nov 2003 08:53:51 +0100
"Robert Van Gemert" <rcvangemert@xxxxxxxxxxxxxxxx> wrote in message
news:004101c3b08a$ece10090$51011f0a@xxxxxxxxxxxxx
> Thanks David,
>
> I presume  document('') refers to a null document i'll look more into this
> syntax..

   document('')

selects the root of the current xsl:stylesheet document. E.g:

   document('')/*

selects the xsl:stylesheet element.

   document('')/*/xsl:variable

selects all global xsl:variable (-s),

   document('')/*/xsl:template

selects all  xsl:template (-s),

etc.



=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread