Return all row Value
Posted: Mon Dec 30, 2013 9:21 am
Hi
I am using Oxygen XML Editor 15.1
There are 3 rows in one node element i.e. testnode
Now I need to fetch this rows data and display in a table (HTML)
Currently I a using following code:
Now problem in above code is there are 3 rows in node so currently there are 3 rows display but value of all rows are same as first row value.
What is the problem?
I am using Oxygen XML Editor 15.1
There are 3 rows in one node element i.e. testnode
Now I need to fetch this rows data and display in a table (HTML)
Currently I a using following code:
Code: Select all
<xsl:for-each select="/ns1:Resource/ns1:testpath/ns1:ExceptionMessage" xmlns:ns1="http://webservicepath">
<xsl:element name="tr">
<xsl:attribute name="align">center</xsl:attribute>
<xsl:element name="td">
<xsl:attribute name="align">left</xsl:attribute>
<font name="verdana" size="3">
<xsl:attribute name="width">120</xsl:attribute>
<i>
<xsl:value-of select="/ns1:Resource/ns1:testpath/ns1:ExceptionMessage/ns1:Message/text()" xmlns:ns1="http://webservicepath"/>
</i>
</font>
</xsl:element>
</xsl:element>
</xsl:for-each>
What is the problem?