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: Accessing attributes


> 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


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