Author: henning
Date: Tue Nov 1 04:40:16 2005
New Revision: 330047
URL: http://svn.apache.org/viewcvs?rev=330047&view=rev
Log:
According to the XSL spec, xsl:import must be before any other
childs in the stylesheet definition.
Modified:
jakarta/site/xdocs/stylesheets/news2content.xsl
jakarta/site/xdocs/stylesheets/site.xsl
Modified: jakarta/site/xdocs/stylesheets/news2content.xsl
URL:
http://svn.apache.org/viewcvs/jakarta/site/xdocs/stylesheets/news2content.xsl?rev=330047&r1=330046&r2=330047&view=diff
==============================================================================
--- jakarta/site/xdocs/stylesheets/news2content.xsl (original)
+++ jakarta/site/xdocs/stylesheets/news2content.xsl Tue Nov 1 04:40:16 2005
@@ -4,8 +4,8 @@
of content XML documents, each of which can then be transformed to HTML. -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:date="http://exslt.org/dates-and-times"
xmlns:redirect="http://xml.apache.org/xalan/redirect"
extension-element-prefixes="date redirect" version="1.0">
- <xsl:param name="base.dir" select="string('.')"/>
<xsl:import href="common.xsl"/>
+ <xsl:param name="base.dir" select="string('.')"/>
<xsl:output method="xml" encoding="Cp1252"/>
<xsl:template match="/">
<!-- Apply templates to generate a content file for each group. -->
Modified: jakarta/site/xdocs/stylesheets/site.xsl
URL:
http://svn.apache.org/viewcvs/jakarta/site/xdocs/stylesheets/site.xsl?rev=330047&r1=330046&r2=330047&view=diff
==============================================================================
--- jakarta/site/xdocs/stylesheets/site.xsl (original)
+++ jakarta/site/xdocs/stylesheets/site.xsl Tue Nov 1 04:40:16 2005
@@ -20,11 +20,11 @@
*****************************
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:import href="common.xsl"/>
<!-- Output method -->
<xsl:output method="xml" omit-xml-declaration="yes" encoding="iso-8859-1"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
indent="yes"/>
- <xsl:import href="common.xsl"/>
<!-- Defined parameters (overrideable) -->
<xsl:param name="relative-path" select="'.'"/>
<!-- Defined variables (non-overrideable) -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]