annotate summa/english/split.xsl @ 89:ca573ccfc3e7

fix some missing headers, etc.
author ht
date Sun, 16 Jun 2013 14:43:49 +0000
parents 093a560860d9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
52
f02dd65775b6 working
ht
parents:
diff changeset
1 <?xml version='1.0'?>
f02dd65775b6 working
ht
parents:
diff changeset
2 <!DOCTYPE doc SYSTEM "../../../../lib/xml/xsl.dtd" >
f02dd65775b6 working
ht
parents:
diff changeset
3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:x="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="x">
f02dd65775b6 working
ht
parents:
diff changeset
4
f02dd65775b6 working
ht
parents:
diff changeset
5 <xsl:output method="xhtml" indent="no"/>
f02dd65775b6 working
ht
parents:
diff changeset
6
55
093a560860d9 work together
ht
parents: 52
diff changeset
7 <xsl:template match="x:div[@class='div2']">
093a560860d9 work together
ht
parents: 52
diff changeset
8 <xsl:variable name="name" select="translate(@id,'.','_')"/>
093a560860d9 work together
ht
parents: 52
diff changeset
9 <xsl:message>f: <xsl:value-of select="$name"/>|<xsl:value-of select="count(x:div)"/></xsl:message>
093a560860d9 work together
ht
parents: 52
diff changeset
10 <xi:include href="{$name}.html"/>
52
f02dd65775b6 working
ht
parents:
diff changeset
11 <xsl:result-document method="xhtml" href="{$name}.html">
55
093a560860d9 work together
ht
parents: 52
diff changeset
12 <xsl:copy>
093a560860d9 work together
ht
parents: 52
diff changeset
13 <xsl:apply-templates select="@*|node()"/>`
093a560860d9 work together
ht
parents: 52
diff changeset
14 </xsl:copy>
52
f02dd65775b6 working
ht
parents:
diff changeset
15 </xsl:result-document>
f02dd65775b6 working
ht
parents:
diff changeset
16 </xsl:template>
f02dd65775b6 working
ht
parents:
diff changeset
17
f02dd65775b6 working
ht
parents:
diff changeset
18 <xsl:template match="node()|@*">
f02dd65775b6 working
ht
parents:
diff changeset
19 <xsl:copy>
f02dd65775b6 working
ht
parents:
diff changeset
20 <xsl:apply-templates select="node()|@*"/>
f02dd65775b6 working
ht
parents:
diff changeset
21 </xsl:copy>
f02dd65775b6 working
ht
parents:
diff changeset
22 </xsl:template>
f02dd65775b6 working
ht
parents:
diff changeset
23 </xsl:stylesheet>