From 56e46331c3cb503baa2d3f8004dc0725baf51a0a Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 16 Jul 2014 20:56:36 +0200 Subject: Added datasource master template * handles basic output structure * provides XSLT standard template "text()/@*" redefinition to prevent unwanted output of unmatched elements --- template/datasource/pages.xsl | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'template/datasource') diff --git a/template/datasource/pages.xsl b/template/datasource/pages.xsl index 7de4b4b..c77513a 100644 --- a/template/datasource/pages.xsl +++ b/template/datasource/pages.xsl @@ -7,23 +7,9 @@ exclude-result-prefixes="xalan InputXSLT" > -<xsl:output - method="xml" - omit-xml-declaration="no" - encoding="UTF-8" - indent="yes" -/> - +<xsl:include href="[utility/datasource.xsl]"/> <xsl:include href="[utility/formatter.xsl]"/> -<xsl:template match="data"> - <datasource> - <xsl:apply-templates /> - </datasource> -</xsl:template> - -<xsl:template match="text()|@*"/> - <xsl:template match="source/pages"> <pages> <xsl:apply-templates select="./*"/> -- cgit v1.2.3