[Home] [By Thread] [By Date] [Recent Entries]
How would you like it to display?
<?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" indent="yes" /> <xsl:template match="/"> <html> <body> <table> <tr> <th>Name</th> <th>Address</th> <th>Phone Number</th> <th>Part Number</th> <th>Quantity</th> <th>Price</th> <th>Total</th> <tr> <xsl:apply-templates /> </table> </body> </html> </xsl:template> <xsl:template match="Purchase-Order">
<tr>
<td><xsl:value-of select="name" /></td>
<td><xsl:value-of select="address" /></td>
<td><xsl:value-of select="phone-number" /></td>
<td><xsl:value-of select="part-number" /></td>
<td><xsl:value-of select="quantity" /></td>
<td><xsl:value-of select="price" /></td>
<td><xsl:value-of select="total" /></td>
</tr>
</xsl:template>
</xsl:stylesheet>Bovy, Stephen J wrote: I would like to find a simple xml template to convert something like this:
|

Cart



