Sorry, i mean
 
<xsl:value-of select="[EMAIL PROTECTED] = 'SALES']"/>
 
Cheers
 
Mirko
-----Urspr�ngliche Nachricht-----
Von: Mirko Sertic [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 24. April 2003 15:06
An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Betreff: AW: accessing attributes in xml

I'd guess
 
<xsl:value of select="[EMAIL PROTECTED] = 'SALES']"/>
 
Hope this helps
 
Cheers
 
Mirko
-----Urspr�ngliche Nachricht-----
Von: Torsten Erler [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 24. April 2003 15:03
An: Fop-User (E-mail)
Betreff: accessing attributes in xml

Hi all,
 
I've an xml like:
 
...
<defaultContactPerson type="PROOF"/>
<defaultContactPerson type="BILL"/>
<defaultContactPerson type="SALES">Hans Friedrich Mueller</defaultContactPerson>
<defaultContactPerson type="MAIL"/>
<defaultContactPerson type="KEY"/>
....
 
Now I've to check inside the xsl this:
 
<xsl:if test="??? //[EMAIL PROTECTED] != '' ???">
 
<!-- do something here if the sales contact isn't empty-->
<xsl:value-of select="??? //[EMAIL PROTECTED] ???"/>
 
</xsl>
 
Can anyone help me how to check the value for the tag where the attribute is 'SALES' and how to access this value.
 
ThanX in Advance
 
cu Torsten
 

Reply via email to