You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by st...@locus.apache.org on 2000/01/10 22:49:51 UTC
cvs commit: xml-cocoon/samples/import import-page-html.xsl
stefano 00/01/10 13:49:51
Modified: samples/hello hello-page.xml
samples/import import-page-html.xsl
Log:
...
Revision Changes Path
1.2 +1 -1 xml-cocoon/samples/hello/hello-page.xml
Index: hello-page.xml
===================================================================
RCS file: /home/cvs/xml-cocoon/samples/hello/hello-page.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hello-page.xml 1999/11/30 16:30:00 1.1
+++ hello-page.xml 2000/01/10 21:49:51 1.2
@@ -7,6 +7,6 @@
<page>
<title>Hello</title>
<content>
- <paragraph>This is my first Cocoon file!</paragraph>
+ <paragraph>This is my first Cocoon page!</paragraph>
</content>
</page>
1.2 +6 -0 xml-cocoon/samples/import/import-page-html.xsl
Index: import-page-html.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/samples/import/import-page-html.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- import-page-html.xsl 2000/01/09 23:44:19 1.1
+++ import-page-html.xsl 2000/01/10 21:49:51 1.2
@@ -6,6 +6,12 @@
<xsl:import href="../hello/hello-page-html.xsl"/>
+ <xsl:template match="page">
+ <html>
+ <xsl:apply-templates/>
+ </html>
+ </xsl:template>
+
<xsl:template match="paragraph">
<p align="left">
<b>