dims 01/07/13 04:26:10
Modified: . Tag: cocoon_20_branch build.xml
webapp Tag: cocoon_20_branch sitemap.xmap
webapp/stylesheets/documents Tag: cocoon_20_branch
root2html.xsl
Log:
Patches from Daniel Rubio <[EMAIL PROTECTED]> for "Rendering XDOCS in the WAR File"
Revision Changes Path
No revision
No revision
1.8.2.14 +8 -0 xml-cocoon2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.xml,v
retrieving revision 1.8.2.13
retrieving revision 1.8.2.14
diff -u -r1.8.2.13 -r1.8.2.14
--- build.xml 2001/07/12 15:31:22 1.8.2.13
+++ build.xml 2001/07/13 11:25:36 1.8.2.14
@@ -383,6 +383,14 @@
</fileset>
</copy>
+ <copy todir="${build.war}/docs/xdocs/images" filtering="off">
+ <fileset dir="${images.dir}">
+ <include name="*.gif"/>
+ <include name="*.jpg"/>
+ <include name="*.png"/>
+ </fileset>
+ </copy>
+
<copy todir="${build.war}/docs/xdocs/internal" filtering="off">
<fileset dir="${docs.dir}">
<include name="site-book.xml"/>
No revision
No revision
1.11.2.15 +12 -0 xml-cocoon2/webapp/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-cocoon2/webapp/sitemap.xmap,v
retrieving revision 1.11.2.14
retrieving revision 1.11.2.15
diff -u -r1.11.2.14 -r1.11.2.15
--- sitemap.xmap 2001/07/12 06:47:20 1.11.2.14
+++ sitemap.xmap 2001/07/13 11:25:50 1.11.2.15
@@ -334,6 +334,18 @@
<map:serialize/>
</map:match>
+ <map:match pattern="documents/images/**.gif">
+ <map:read src="docs/xdocs/images/{1}.gif" mime-type="image/gif"/>
+ </map:match>
+
+ <map:match pattern="documents/images/**.jpg">
+ <map:read src="docs/xdocs/images/{1}.jpg" mime-type="image/jpg"/>
+ </map:match>
+
+ <map:match pattern="documents/images/**.png">
+ <map:read src="docs/xdocs/images/{1}.png" mime-type="image/png"/>
+ </map:match>
+
<!-- ================ Static =========================== -->
<map:match pattern="fo">
No revision
No revision
1.1.2.2 +10 -0 xml-cocoon2/webapp/stylesheets/documents/root2html.xsl
Index: root2html.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon2/webapp/stylesheets/documents/root2html.xsl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- root2html.xsl 2001/07/10 15:56:29 1.1.2.1
+++ root2html.xsl 2001/07/13 11:26:01 1.1.2.2
@@ -73,4 +73,14 @@
</xsl:copy>
</xsl:template>
+<xsl:template match="body//figure">
+ <xsl:element name="img">
+ <xsl:for-each select="@*">
+ <xsl:attribute name="{name(.)}">
+ <xsl:value-of select="."/>
+ </xsl:attribute>
+ </xsl:for-each>
+ </xsl:element>
+</xsl:template>
+
</xsl:stylesheet>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]