[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Using Attribute in a Predicate

Subject: Re: Using Attribute in a Predicate
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Tue, 30 Jul 2002 15:33:36 +0000
group of company name
<xsl:value-of
select="//Script/Group[@Grp]/Desc/@Name"/>---- I
doesnt mean
<xsl:value-of
select="//Script/Group[0]/Desc/@Name"/>---- II

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?

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..

In second case you are tryin to get the Group at the position 0??????

It would be wiser if you can tell us what your requirement is..

From: Kuhns Matt <kuhns_m@xxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  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


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.