This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using Attribute in a Predicate


----- Original Message -----
From: "Kuhns Matt" <kuhns_m@yahoo.com>


> Whenever I do something like this:
> <xsl:value-of
> select="//Script/Group[@Grp]/Desc/@Name"/>
> I get nothing.

I assume that you want to choose any Groups that have a @Grp attribute ?
that is what your test within the predicate is doing.....

may need to see your xml also, and your desired result, to auger what you
want to do.

cheers, jim fuller


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]