[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Hello List,
I have an xml document filled with key-value pairs that the xsl needs to use to identify the proper nodes to process in the proper templates.
To properly select the collection node whose key attribute is equal to key.string.1?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
[xsl] xsl: using attribute value in apply-templates select
Subject: [xsl] xsl: using attribute value in apply-templates select From: "Alex Reuter" <xslalex@xxxxxxxxxxx> Date: Fri, 07 Jun 2002 15:05:26 +0000 |
Hello List,
I have an xml document filled with key-value pairs that the xsl needs to use to identify the proper nodes to process in the proper templates.
Given an xml like this: <page> <collection key="key.string.1"> <data>stuff</data> <data>stuff</data> </collection> <collection key="key.string.2"> <data>stuff</data> <data>stuff</data> </collection> </page>
And a template like this: <xsl:template match="collection"> stuff... </xsl:template
How would I write the select attribute of <xsl:apply-templates select=" ? "/>
To properly select the collection node whose key attribute is equal to key.string.1?
Thanks for any help on this, Alex
_________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[no subject], markgoldin | Thread | Re: [xsl] xsl: using attribute valu, Alex Reuter |
Re: [xsl] If vs. apply-templates fo, Jeni Tennison | Date | [xsl] Organization Chart, markgoldin |
Month |