Expand|Select|Wrap|Line Numbers
- <supr:TABLE_INFO>
- <supr:field>
- <supr:tag>seq-num</supr:tag>
- </supr:field>
- </supr:TABLE_INFO>
Here I have written a XSL for get above xml tag values and
the same is are below:
Expand|Select|Wrap|Line Numbers
- <?xml version="1.0" encoding="ISO-8859-1"?>
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="/">
- <html>
- <body>
- <h2>Test.xml</h2>
- <table border="1">
- <tr bgcolor="#9acd32">
- <xsl:for-each select="supr:TABLE_INFO/supr:field">
- <th><xsl:value-of select="supr:seq-num"/></th>
- </xsl:for-each>
- </tr>
- </table>
- </body>
- </html>
- </xsl:template>
- </xsl:stylesheet>
error like:
'The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Reference to undeclared namespace prefix: 'asup'.
Please let any one know me that what will be the issue here and how can I fix the same.
Thanks in Advance
Shree Naik