1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-09-17 03:22:14 +03:00
Files
libxslt/tests/REC/test-8-1.xsl
Daniel Veillard dda2ed17ba added some exclude-result-prefixes to avoid extra namespace declaration
* tests/REC/test-8-1.xsl tests/REC/test-9.1-2.xsl
  tests/general/bug-83.xsl tests/multiple/dict.xsl: added some
  exclude-result-prefixes to avoid extra namespace declaration being
  dumped following the fix for #102920 in libxml2
Daniel
2003-01-09 13:30:35 +00:00

31 lines
627 B
XML

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
exclude-result-prefixes="fo">
<xsl:template match="/">
<html>
<head>
<title>Customers</title>
</head>
<body>
<table>
<tbody>
<xsl:for-each select="customers/customer">
<tr>
<th>
<xsl:apply-templates select="name"/>
</th>
<xsl:for-each select="order">
<td>
<xsl:apply-templates/>
</td>
</xsl:for-each>
</tr>
</xsl:for-each>
</tbody>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>