[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Referring to stylesheet itself, possible in XSLT 1.0, but how in XSLT 2.0?


Subject: Re: [xsl] Referring to stylesheet itself, possible in XSLT 1.0, but how in XSLT 2.0?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 17 Oct 2006 13:48:17 +0100

Incidentally, why do you want to use document('')?? It's used quite a
lot in XSLT 1 but in all cases where I have seen it used it is to get
round the restriction that variables containing literal XML generate
result tree fragments rather than node sets. As that restriction is
thankfully gone in XSLt2 I would expect the document ('') construction
to be rather rare.

David


Current Thread
Keywords