cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@socialchange.net.au
Subject [C1] [patch] faq.xml, guide.xml
Date Wed, 27 Dec 2000 12:28:44 GMT
Hi,

Here's a patch to faq.xml that makes the "dynamic XSLT" example work, and a small patch to
guide.xml that makes the XSLT spec-conformant.

--Jeff

Index: faq.xml
===================================================================
RCS file: /home/cvspublic/xml-cocoon/xdocs/faq.xml,v
retrieving revision 1.36
diff -u -r1.36 faq.xml
--- faq.xml     2000/12/14 16:33:49     1.36
+++ faq.xml     2000/12/27 11:44:20
@@ -814,7 +814,7 @@
 
        <page>
         <xsp:pi target="xml-stylesheet">
-          href="<xsp:expr><request:get-parameter name="stylesheet"></xsp:expr>"
type="text/xsl"
+          href="<xsp:expr><request:get-parameter name="stylesheet"/></xsp:expr>"
type="text/xsl"
         </xsp:pi> 
        </page>
      </xsp:page>



Index: guide.xml
===================================================================
RCS file: /home/cvspublic/xml-cocoon/xdocs/guide.xml,v
retrieving revision 1.7
diff -u -r1.7 guide.xml
--- guide.xml   2000/09/19 23:01:42     1.7
+++ guide.xml   2000/12/27 11:43:57
@@ -92,7 +92,8 @@
 
 <source><![CDATA[
 <?xml version="1.0"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
+                version="1.0">
 </xsl:stylesheet>
 ]]></source>
 
@@ -558,4 +559,4 @@
   stylesheet has not (which is a rather frequent case).</p>
 </s1>
 </body>
-</document>
\ No newline at end of file
+</document>



Mime
View raw message