Print

Print


Hi Kris,

> I've added some HTML to the different hook sections

actually XSLT(-processors) behave different if you insert HTML code
directly in the output stream or if you generate HTML elements using
<xsl:element>, maybe even with declaring the namespace explicitly. If
the script doesn't know that its output is in the HTML nemaspace, it
will generate a default namespace (which in this case is empty) and
reproduce the namespace of the element processed.

As bodyHook and bodyEndHook are located in tei-param.xsl and HTML
namespace isn't declared in this file, maybe adding the definitions in
<xsl:stylesheet> does the trick? Or you explicitly could generate
elements in the namespace using <xsl:element namespace="">.

Sending your scripts to look for the problems is the best way in all cases!

Best, Torsten

-- 
Torsten Schassan
Digitale Editionen
Abteilung Handschriften und Sondersammlungen
Herzog August Bibliothek, Postfach 1364, D-38299 Wolfenbuettel
Tel.: +49-5331-808-130 (Fax -165), schassan {at} hab.de

http://www.hab.de/forschung/projekte/europeana-regia.htm
http://www.hab.de/forschung/projekte/weiss64.htm