xsl-list
[Top] [All Lists]

RE: XSLT and FO/FOP workarounding

2004-09-13 23:35:46
Hi again ;-)

J.Pietschmann <mailto:j3322ptm(_at_)yahoo(_dot_)de> wrote on Tuesday, September 
14,
2004 1:42 AM:

[Fatal Error] :-1:-1: Premature end of file.

This usually indicates malformed XML or, more likely in your
case, a malformed XPath expression. You are probably missing
a quote or a parenthesis somewhere.

No that error occures if i add "your" line into my stylesheet:

<xsl:template match="*[not(preceding-sibling::*[1][self::h3])]" />

So that template seems to snipple more away from the xml and therefore from
the resulting xsl-fo file than it should ;-)

Try
  <xsl:template match="h1|h2|h3|h4|h5">
    ...
              <fo:block xsl:use-attribute-sets="name()">

Ok, that works for me. Thx!

-- 

Mit freundlichem Gruß

Sönke Ruempler
Technik

top concepts Internetmarketing GmbH
Am Steinkamp 7 - D-21684 Stade - Germany
--------------------------------------------------------
http://www.topconcepts.de        Tel. +49 1805 9977 501*
mail: ruempler(_at_)topconcepts(_dot_)de    Fax. +49 1805 9977 502*
--------------------------------------------------------
SMS Versand ab 9.9 Cent: http://sms-gw.topconcepts.de
--------------------------------------------------------
Handelsregister: AG Stade HRB 5811 - UstId: DE 213645563
--------------------------------------------------------
*) EUR 0,12/Min. (CNS24)
--------------------------------------------------------
--> http://www.topconcepts.de/kundenservice/faq/1/
--> http://learn.to/quote



<Prev in Thread] Current Thread [Next in Thread>