c3d2-web/transformation/news2page/news2page.xsl

28 lines
859 B
XML

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:date="http://exslt.org/dates-and-times"
xmlns:crypto="http://exslt.org/crypto"
exclude-result-prefixes="xsl date crypto">
<xsl:include href="include/date.xsl" />
<xsl:include href="include/item.xsl" />
<xsl:include href="include/news.xsl" />
<xsl:output method="xml"
version="1.0"
encoding="utf-8"
indent="yes"/>
<!--
# Identity transformation for all elements
# not handled by the templates within this file.
# Taken from
# http://stackoverflow.com/questions/10454114/xslt-template-for-any-node-not-already-handled
-->
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>