summaryrefslogtreecommitdiffstats
path: root/modules/portuguese/transform.xsl
diff options
context:
space:
mode:
authorPeter von Kaehne <refdoc@gmx.net>2010-09-09 22:47:43 +0000
committerPeter von Kaehne <refdoc@gmx.net>2010-09-09 22:47:43 +0000
commitb270e5b7f32e5783cd130a789ec3c8b3094186f7 (patch)
tree4e3899e741b0b2be69885248e65cc514dc1e3796 /modules/portuguese/transform.xsl
parentcc17b87634e36b66d082e79e395a620ec26997bd (diff)
downloadsword-tools-b270e5b7f32e5783cd130a789ec3c8b3094186f7.tar.gz
The portuguese module scripts
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@302 07627401-56e2-0310-80f4-f8cd0041bdcd
Diffstat (limited to 'modules/portuguese/transform.xsl')
-rw-r--r--modules/portuguese/transform.xsl50
1 files changed, 50 insertions, 0 deletions
diff --git a/modules/portuguese/transform.xsl b/modules/portuguese/transform.xsl
new file mode 100644
index 0000000..8100c7e
--- /dev/null
+++ b/modules/portuguese/transform.xsl
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="text"/>
+
+<xsl:template match="/"><xsl:apply-templates/></xsl:template>
+<xsl:template match="page"><xsl:apply-templates/></xsl:template>
+<xsl:template match="page_footer"><xsl:apply-templates/></xsl:template>
+<xsl:template match="maintext"><xsl:apply-templates/></xsl:template>
+
+<xsl:template match="chapter">
+\c<xsl:value-of select="."/></xsl:template>
+
+<xsl:template match="verse_no">
+\v<xsl:value-of select="."/></xsl:template>
+
+
+
+<xsl:template match="intro_para"></xsl:template>
+
+<xsl:template match="bookname">
+\mt<xsl:value-of select="."/>
+\p
+</xsl:template>
+
+<xsl:template match="section_title">
+\s<xsl:value-of select="."/>
+\p
+</xsl:template>
+
+<xsl:template match="Lords_Name">\nd <xsl:value-of select="."/> \nd*</xsl:template>
+
+<xsl:template match="ref_text"></xsl:template>
+<xsl:template match="ref_key"></xsl:template>
+<xsl:template match="ref_no"></xsl:template>
+<xsl:template match="refverse_no"></xsl:template>
+<xsl:template match="refchapter_no"></xsl:template>
+<xsl:template match="font"></xsl:template>
+<xsl:template match="page_footer/img">IMAGE</xsl:template>
+<xsl:template match="title"></xsl:template>
+
+
+
+
+<xsl:strip-space elements="*"/>
+
+
+</xsl:stylesheet>
+
+