xsl-list
[Top] [All Lists]

Re: XSLT and FO/FOP workarounding

2004-09-13 16:42:04
Sönke Ruempler wrote:
[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.


My second Question is that i don't want to copy that stylesheet for each
heading (h1, h2, ...) and a general stylesheet for the headings would be
nice.

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

J.Pietschmann


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