This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Using Attribute in a Predicate
- From: "James Fuller" <james dot fuller at o-idev dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 30 Jul 2002 15:57:30 +0100
- Subject: Re: [xsl] Using Attribute in a Predicate
- Organization: o-iDeveloper ltd.
- References: <20020730144019.61653.qmail@web12302.mail.yahoo.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
----- 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