|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: match nodes based on given path
>
> Now I am generating a stylesheet which looks like:
>
> <xsl:key name="indyLink" match="/root/node/foo" use="generate-id()"/>
>
> <xsl:template match="*[generate-id() =
generate-id(key('indyLink',generate-id()))]">
> <xsl:call-template name="IndyLink"/>
> <xsl:apply-imports/>
> </xsl:template>
I think your match pattern is precisely equivalent to:
<xsl:template match="/root/node/foo">
Which probably means you were trying to test for some other condition,
but I've no idea what.
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








