Subject: [xsl] key definition From: "Steve Renshaw" <renshaw_steve@xxxxxxxxxxx> Date: Sun, 28 Oct 2001 13:38:03 +0000 |
<items> <item> <data id="1">alpha</data> <data id="2">gamma</data> </item> <item> <data id="1">alpha</data> <data id="2">delta</data> </item> <item> <data id="1">beta</data> <data id="2">gamma</data> </item> </items>
given variables $id and $value select="key('MyKey',concat($id,$value))"
examples select="key('MyKey',concat('1','alpha')) returns the first and second <item>'s
select="key('MyKey',concat('2','gamma')) returns the first and third <item>'s
Second question: What happens if I encounter markup that looks like this:
<item> <data id="1">01</data> <data id="10">1</data> </item>
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] dd mmm yyyy Date converte, Michael Kay | Thread | RE: [xsl] key definition, Chris Bayes |
[xsl] dd mmm yyyy Date converted to, mark . clare | Date | RE: [xsl] key definition, Chris Bayes |
Month |