|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
xsl: how to test for attribute name and value at the same time
i have a xml
<list> <element att1=1 and att2=2/> <element att1=9 and att2=10/> </list> and in my xsl i want to do a test ...loop...... <xsl:for-each select="@*"> <xsl:choose> <xsl:when test="name() = 'att1' AND value() = '1'"> do this </xsl:when> ....loop..... how can i do this . There is no function like 'value' tia, nik |
|
#2
|
||||
|
||||
|
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > xsl: how to test for attribute name and value at the same time |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|