Subject: Re: [xsl] Getting the path to the stylesheet [RETRY] From: Michael Kay <mike@xxxxxxxxxxxx> Date: Fri, 06 Jul 2012 12:12:18 +0100 |
Why do we need the xsl:for-each on the document('').This sets the context to be the root node of the stylesheet, so then the unparsed-entity-uri() function acts based on that context. From the spec:
This is very clever! Thanks for sharing it, Ken!The unparsed-entity-uri returns the URI of the unparsed entity with the specified name in the same document as the context node
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Getting the path to the s, Chris Maloney | Thread | [xsl] Template doesn't seem to matc, russurquhart1 |
Re: [xsl] Getting the path to the s, Chris Maloney | Date | Re: [xsl] XSLT FAQ?, davep@xxxxxxxxxxxxx |
Month |