|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT Generated Text
Derek Basch wrote:
I gave the root element and all its children the same namespace in the xml Hi Derek, I don't see any revision in the XSL? I think you need: <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:m="http://172.20.0.70:81/mamu/"
exclude-result-prefixes="m">
<xsl:template match="/">
<html>
<body>
<h2>Prediction Results</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th align="left">Start</th>
<th align="left">End</th>
<th align="left">Sequence</th>
</tr>
<xsl:for-each select="m:mamu_results/m:prediction">
<tr>
<td><xsl:value-of select="m:start"/></td>
<td><xsl:value-of select="m:end"/></td>
<td><xsl:value-of select="m:sequence"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>HTH, Anton Any ideas??? Thanks again.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








