Hi -

This is really really basic question. I am experimenting with XML data sets
that are based on ADO data sets. I set up a very simple program to query
the database and then return/save the data in an XML file.

Now, I want to design a series of XSL style sheets that will transform that
data into whatever I want. However, when I attempt to do so I get the error:

Reference to Undelcared name space "z"

The XSL sheet code is below.


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<html>
<body bgColor="gold">
<table border="1">
<tr>
<td><b>Employee ID</b></td>
<td><b>First Name</b></td>
<td><b>Last Name</b></td>
</tr>
<xsl:for-each select="//z:row">
<tr>
<td><xsl:value-of select="EMPID"/></td>
<td><xsl:value-of select="FIRSTNAME"/></td>
<td><xsl:value-of select="LASTNAME"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>

</xsl:template>
</xsl:stylesheet>