> I am trying to learn P5 have created a valid and well-formed document,
> and am now trying get a stylesheet to transform this document to HTML.
>
> My stylesheet has some CSS coding in the <style> element and other
> elements that format the rest of the document. It appears that the
> transformation only processes the first template and only the first CSS
> rule. Could someone please take a look at my XML and XSL and tell me
> what is going on?
>
> I had this down pretty well in the P4 world, but P5 is posing some
> problems.
without having seen the XSL, I could imagine that you are trying to use
your P4 stylesheets on a P5 document? In that case the major problem
would be that in P5 your templates have to address the TEI-namespace.
E.g.:
in P4: <xsl:template match="TEI.2">blabla</xsl:template>
in P5: <xsl:template match="tei:TEI">blabla</xsl:template>
Right guess?
Best, Torsten
--
Torsten Schassan
Projekt Handschriftendatenbank/MASTER
Herzog August Bibliothek, Postfach 1364, D-38299 Wolfenbuettel
Tel.: +49-5331-808-117, schassan {at} hab.de
http://www.hab.de/forschung/projekte/master.htm
Projekt CESG (Codices Electronici Sangallenses)
http://www.cesg.unifr.ch
Privat: Dr.-Heinrich-Jasper-Str. 3, D-38304 Wolfenbuettel
Tel.: +49-5331-905926
|