[xsl] XSL:if .. Attribute

Subject: [xsl] XSL:if .. Attribute
From: Loren Lai <lorenlai@xxxxxxxxx>
Date: Thu, 21 Jun 2001 07:06:09 -0700 (PDT)

Can someone help me please.

This is my XML-File:

       <partnerName kursType="private"               
role="HE">Deutsche Bank AG</partnerName>
        <modul id="1">Finanzielle
        <modul id="2">Kontofuehrung</modul>
        <modul id="3">Markt und Wettbewerb</modul>
        <modul id="4">Management</modul>

.... I would like to have a XSL which checks the
attribute kursType b4 it prints out the element.

For example :
if kursType==private then print pic1.gif
if kursType==Unternehmer then print pic2.gif
Else print out anotherpicture.gif

Can comeone helps me to write this xsl-file ? or how
does the syntax looks like ?

thank you very much !

Loren :) 


Loren Lai :)

Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail

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

Current Thread