Hi, need some help with this :-
I have some XML...
<TRANSPORT>Bicycle
<RANGE SELECTED="4">
<_0>Walk</_0>
<_1>Car</_1>
<_2>MotorCycle</_2>
<_3>Aeroplane</_3>
<_4>Bicycle</_4>
</RANGE>
</TRANSPORT>
I want to extract the value of the Text Node of the transport element using XSL.
<xsl:value-of select="TRANSPORT"/>
yields :-
Bicycle WalkCarMotorcycleAeroplaneBicycle
but all I want is Bicycle
Does anyone have any suggestions.
Many Tnx.
Dachyon
I have some XML...
<TRANSPORT>Bicycle
<RANGE SELECTED="4">
<_0>Walk</_0>
<_1>Car</_1>
<_2>MotorCycle</_2>
<_3>Aeroplane</_3>
<_4>Bicycle</_4>
</RANGE>
</TRANSPORT>
I want to extract the value of the Text Node of the transport element using XSL.
<xsl:value-of select="TRANSPORT"/>
yields :-
Bicycle WalkCarMotorcycleAeroplaneBicycle
but all I want is Bicycle
Does anyone have any suggestions.
Many Tnx.
Dachyon