This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Accessing attributes
- From: "Charles Knell" <cknell at onebox dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 09 Aug 2002 13:42:33 -0700
- Subject: Re: [xsl] Accessing attributes
- Reply-to: xsl-list at lists dot mulberrytech dot com
> How can I access an attribute value inside an if and
> for-each functions?
>
site/passeio/item
/site/dadosPasseio/correlato/item[@correlato = @idPasseio]
Your XSLT is confusing, the two XPaths don't seem to be related. Please
post a sample of the XML data document for clarification.
--
Charles Knell
cknell@onebox.com - email
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list