mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-09-17 03:22:14 +03:00
* 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
31 lines
627 B
XML
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>
|