xsl-list
[Top] [All Lists]

RE: XSL Help!!

2002-12-06 12:08:44
Yikes! You're right. My bad, sara

-----Original Message-----
From: Américo Albuquerque 
[mailto:aalbuquerque(_at_)viseu(_dot_)ipiaget(_dot_)pt]
Sent: Friday, December 06, 2002 2:03 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] XSL Help!!


Hi Sara.
In this example <xsl:apply-templates
select='person_name/person_name.type_cd/@V="L"'/> he's not getting the
attribute but the result of (attribute equals to the string 
'L'), i. e.,
is getting true or false. To get the attribute he will also 
have to use
predicates:
<xsl:apply-templates
select='person_name/person_name.type_cd/@V[.="L"]'/>
In this case I think that will be an error since you're not 
selecting a
node set

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



<Prev in Thread] Current Thread [Next in Thread>