xml:..........
Expand|Select|Wrap|Line Numbers
- <catalog>
- <cd>
- <title def="2" >Empire1 </title>
- <title def="2" >Empire2 </title>
- <title def="2" >Empire3 </title>
- <title def="2">
- <run>raj1</run>
- </title>
- <title def="2">
- <run>raj2</run>
- </title>
- <title def="2">
- <run>raj3</run>
- </title>
- </cd>
- </catalog>
Expand|Select|Wrap|Line Numbers
- <xsl:for-each select="catalog/cd/title[@def='2']">
- <xsl:value-of select="./run"/>
- </xsl:for-each>
<xsl:for-each select="catalog/cd/title[@def='2']">
<xsl:value-of select="."/>
</xsl:for-each>
how can i get the values from <title def="2" > tag ommiting the run tag.
i hav used the conditions like
<xsl:if test="string-length(normalize-space(catalog/cd/title[@def='2']/run)) > 0">
to show the values under run tag alone..
but how to get the values other than run tag....
Thanks
Raj..