Subject: Re: [xsl] Using Attribute in a Predicate From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx> Date: Tue, 30 Jul 2002 15:33:36 +0000 |
doesnt mean<xsl:value-of select="//Script/Group[@Grp]/Desc/@Name"/>---- I
<xsl:value-of select="//Script/Group[0]/Desc/@Name"/>---- II
But if I hard code the value in the predicate like <xsl:value-of select="//Script/Group[0]/Desc/@Name"/> I get something back. Is there something I am missing here?
Its a bit not clear as to what you want..and what you are getting?? In the first Case you are tryin to get the Group that has a Grp attribute..
From: Kuhns Matt <kuhns_m@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] Using Attribute in a Predicate Date: Tue, 30 Jul 2002 07:40:19 -0700 (PDT)
Whenever I do something like this: <xsl:value-of select="//Script/Group[@Grp]/Desc/@Name"/> I get nothing. But if I hard code the value in the predicate like <xsl:value-of select="//Script/Group[0]/Desc/@Name"/> I get something back. Is there something I am missing here? Thanks in Advance Matt
__________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
_________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Using Attribute in a Pred, David Carlisle | Thread | [xsl] How to include a single quote, Jiang, Peiyun |
Re: [xsl] Polish Characters, Chuck White | Date | RE: [xsl] How to include a single q, Joseph Kesselman |
Month |