RE: [xsl] XSLT and FO/FOP workarounding

Subject: RE: [xsl] XSLT and FO/FOP workarounding
From: Sönke Ruempler <ruempler@xxxxxxxxxxxxxxx>
Date: Tue, 14 Sep 2004 08:35:46 +0200
Hi again ;-)

J.Pietschmann <mailto:j3322ptm@xxxxxxxx> 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_

Svnke Ruempler
Technik

top concepts Internetmarketing GmbH
Am Steinkamp 7 - D-21684 Stade - Germany
--------------------------------------------------------
http://www.topconcepts.de        Tel. +49 1805 9977 501*
mail: ruempler@xxxxxxxxxxxxxx    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


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
--+--

Current Thread