U
Useko Netsumi
The following failed to run in Mozilla 1.6a but ran find in ie6. Thanks
ex1.xml
=======
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="./ex1.xsl"?>
<Addressbook>
<entry>
<confidential>FOR YOUR EYES ONLY!</confidential>
<CATEGORIES>Signs</CATEGORIES>
<FIRSTNAME>Alf</FIRSTNAME>
<LASTNAME>Della</LASTNAME>
<JOBTITLE1>Double Agent</JOBTITLE1>
</entry>
<entry>
<confidential>PUBLIC</confidential>
<CATEGORIES>Connectors</CATEGORIES>
<FIRSTNAME>John</FIRSTNAME>
<LASTNAME>Smith</LASTNAME>
<JOBTITLE1>Accountant</JOBTITLE1>
</entry>
</Addressbook>
ex1.xsl
=====
<?xml version='1.0' encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<html>
<body>
<table border="2" bgcolor="white">
<tr>
<th>confidential</th>
<th>CATEGORIES</th>
<th>FIRSTNAME</th>
<th>LASTNAME</th>
<th>JOBTITLE1</th>h
</tr>
<xsl:for-each select="Addressbook/entry">
<tr>
<td><xsl:value-of select="confidential"/></td>
<td><xsl:value-of select="CATEGORIES"/></td>
<td><xsl:value-of select="FIRSTNAME"/></td>
<td><xsl:value-of select="LASTNAME"/></td>
<td><xsl:value-of select="JOBTITLE1"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
ex1.xml
=======
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="./ex1.xsl"?>
<Addressbook>
<entry>
<confidential>FOR YOUR EYES ONLY!</confidential>
<CATEGORIES>Signs</CATEGORIES>
<FIRSTNAME>Alf</FIRSTNAME>
<LASTNAME>Della</LASTNAME>
<JOBTITLE1>Double Agent</JOBTITLE1>
</entry>
<entry>
<confidential>PUBLIC</confidential>
<CATEGORIES>Connectors</CATEGORIES>
<FIRSTNAME>John</FIRSTNAME>
<LASTNAME>Smith</LASTNAME>
<JOBTITLE1>Accountant</JOBTITLE1>
</entry>
</Addressbook>
ex1.xsl
=====
<?xml version='1.0' encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<html>
<body>
<table border="2" bgcolor="white">
<tr>
<th>confidential</th>
<th>CATEGORIES</th>
<th>FIRSTNAME</th>
<th>LASTNAME</th>
<th>JOBTITLE1</th>h
</tr>
<xsl:for-each select="Addressbook/entry">
<tr>
<td><xsl:value-of select="confidential"/></td>
<td><xsl:value-of select="CATEGORIES"/></td>
<td><xsl:value-of select="FIRSTNAME"/></td>
<td><xsl:value-of select="LASTNAME"/></td>
<td><xsl:value-of select="JOBTITLE1"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>