Thanx
-> [EMAIL PROTECTED] = 'SALES'] was the pointer I'm looking for -> it works
well.
I
tought @ goes directly to the attribute value, but wherefrom should the parser
know which attribute was meant ;(
{
Thinking is hard, if you've turned off your brain ;) }
cu
Torsten
-----Original Message-----
From: Mirko Sertic [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 24. April 2003 15:09
To: [EMAIL PROTECTED]
Subject: AW: accessing attributes in xmlSorry, i mean<xsl:value-of select="[EMAIL PROTECTED] = 'SALES']"/>CheersMirko-----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 xmlI'd guess<xsl:value of select="[EMAIL PROTECTED] = 'SALES']"/>Hope this helpsCheersMirko-----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 xmlHi 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 Advancecu Torsten