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

RE: [xsl] selecting into an included stylesheet


Subject: RE: [xsl] selecting into an included stylesheet
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 30 Jan 2006 19:22:42 -0000

If you know the URI of the stylesheet you want to access -- which you do,
because you included it -- you can get it using the document() function just
like any other XML document. (That's all that document('') is doing).

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Ingersoll, Utah [mailto:Utah.Ingersoll@xxxxxxxxxxxx] 
> Sent: 30 January 2006 19:16
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] selecting into an included stylesheet
> 
> Hello,
> 
> Does anyone here know if it is possible to select into an
> included/imported stylesheet from within a transform using Microsoft's
> XSL implementation?
> 
> An empty document function can be used to select within the current
> stylesheet, but this method does not work with included stylesheets.
> 
> I'm researching this as a possible alternative to using the document
> function for referencing a common XML library. I have some 
> evidence that
> suggests that Microsoft's implementation of the document 
> function caches
> its requests differently (less persistently) than IE6 caches
> stylesheets.
> 
> Thanks,
> Utah Ingersoll


Current Thread
Keywords