You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by md...@apache.org on 2004/01/30 20:58:37 UTC
cvs commit: jakarta-commons/math/xdocs/userguide xdoc.xsl
mdiggory 2004/01/30 11:58:37
Modified: math/xdocs xdoc.xsl
math/xdocs/userguide xdoc.xsl
Log:
Ajusting xdoc templates css styles appropriately, these are just used for testing/preview in xml/xslt enabled browsers.
Revision Changes Path
1.2 +10 -2 jakarta-commons/math/xdocs/xdoc.xsl
Index: xdoc.xsl
===================================================================
RCS file: /home/cvs/jakarta-commons/math/xdocs/xdoc.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xdoc.xsl 15 Nov 2003 18:38:16 -0000 1.1
+++ xdoc.xsl 30 Jan 2004 19:58:37 -0000 1.2
@@ -6,8 +6,9 @@
<xsl:apply-templates select="/document/properties/title"/>
<xsl:apply-templates select="/document/meta"/>
<style type="text/css">
- @import url("./stylesheets/tigris.css");
- @import url("./stylesheets/maven.css");
+ @import url("./style/tigris.css");
+ @import url("./style/maven.css");
+ @import url("./style/project.css");
</style>
<link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link>
</head>
@@ -33,6 +34,13 @@
<xsl:apply-templates/>
</div>
</xsl:template>
+ <xsl:template match="source">
+ <div id="source">
+ <pre>
+ <xsl:apply-templates/>
+ </pre>
+ </div>
+ </xsl:template>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="@*"/>
1.2 +10 -2 jakarta-commons/math/xdocs/userguide/xdoc.xsl
Index: xdoc.xsl
===================================================================
RCS file: /home/cvs/jakarta-commons/math/xdocs/userguide/xdoc.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xdoc.xsl 15 Nov 2003 18:43:24 -0000 1.1
+++ xdoc.xsl 30 Jan 2004 19:58:37 -0000 1.2
@@ -6,8 +6,9 @@
<xsl:apply-templates select="/document/properties/title"/>
<xsl:apply-templates select="/document/meta"/>
<style type="text/css">
- @import url("../stylesheets/tigris.css");
- @import url("../stylesheets/maven.css");
+ @import url("../style/tigris.css");
+ @import url("../style/maven.css");
+ @import url("../style/project.css");
</style>
<link rel="stylesheet" href="../style/print.css" type="text/css" media="print"></link>
</head>
@@ -33,6 +34,13 @@
<xsl:apply-templates/>
</div>
</xsl:template>
+ <xsl:template match="source">
+ <div id="source">
+ <pre>
+ <xsl:apply-templates/>
+ </pre>
+ </div>
+ </xsl:template>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="@*"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org