aboutsummaryrefslogtreecommitdiffstats
path: root/docs/xml-docs/style/stylesheets/any2project.xsl
diff options
context:
space:
mode:
authorfotis <fotis@unknown>2001-01-11 12:37:20 +0000
committerfotis <fotis@unknown>2001-01-11 12:37:20 +0000
commita5448941a947004e4ace2d69e9495a024aa89b1f (patch)
treed35bf3cbcd7a166660e7b3ff606b8d73e7f761ac /docs/xml-docs/style/stylesheets/any2project.xsl
parent533c0fa3a7803ffeced5efc6d996ad84dd8041c2 (diff)
downloadxmlgraphics-fop-a5448941a947004e4ace2d69e9495a024aa89b1f.tar.gz
xmlgraphics-fop-a5448941a947004e4ace2d69e9495a024aa89b1f.zip
adding html resource files
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193968 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/xml-docs/style/stylesheets/any2project.xsl')
-rw-r--r--docs/xml-docs/style/stylesheets/any2project.xsl21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/xml-docs/style/stylesheets/any2project.xsl b/docs/xml-docs/style/stylesheets/any2project.xsl
new file mode 100644
index 000000000..d1253f11e
--- /dev/null
+++ b/docs/xml-docs/style/stylesheets/any2project.xsl
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
+
+ <xsl:param name="label"/>
+
+ <xsl:template match="/">
+ <project>
+ <xsl:apply-templates/>
+ </project>
+ </xsl:template>
+
+ <xsl:template match="img">
+ <resource source="{@src}" target="images/{@src}"/>
+ </xsl:template>
+
+ <xsl:template match="node()">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+</xsl:stylesheet> \ No newline at end of file