[Home] [By Thread] [By Date] [Recent Entries]
Quoting Andrew Welch <andrew.j.welch@xxxxxxxxx>:
On 08/11/2007, Andreas Peter <info@xxxxxxxxxx> wrote:Hello XSL-List, Hello Andrew, thanks for the reply. I used xsl:apply-templates, too, but the result was the same. More code:
<Root>
<Textabschnitt>
<fn>[<info_h>auf RC<ckseite der letzten
Inhaltsverzeichnisseite:</info_h> 1885 Duala etwas 20.000 Einwohner
</fn>
<fn>Cameraes [?] weiCe Krabben </fn>
<fn>Duala lC<gnerisch, faul, zC$nkisch, prozeCtC<chtig [?] ] </fn>
<p> </p>
<p> </p>
<h1>Geistiger Volksbesitz der Kameruner im Blickfeld des
Missionars</h1>
<h2>EinfC<hrung</h2>
<p> </p>...For every h1, h2, ... element a parent element <headings> should be included, for every <p> element an parent element <continuoustext> should be includes and so on. Just for testing with the aim to get a docbook structure later. I also tried to use literal results like <xsl:template match="h1">
<xsl:if=".">
<ep:headings>
<ep:h1>
<fo:block xsl:use-attribute-sets="h1">
<xsl:apply-templates/>
</fo:block>
</ep:h1>
</ep:headings>
</xsl:template>I added the namespace xmlns:ep="http://www.minimag.de/elpub I hope this helps. Thanks so much, Andreas
|

Cart



