RE: [xsl] Get Stylesheet name

Subject: RE: [xsl] Get Stylesheet name
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 13 Mar 2003 17:22:52 -0000
> I know this is a way off the topic but could somebody please 
> tell me how to extract the name of a stylesheet from the xml document.
> 

You have to parse the contents of the processing instruction using
substring-before and substring-after.

Saxon has an extension, get-pseudo-attribute() to do it. (Which must
mean I once needed to do a similar thing myself).

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread