W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2005

Re: handle not well-formed XML

From: Jan Algermissen <jalgermissen@topicmapping.com>
Date: Thu, 07 Apr 2005 19:39:12 +0200
Message-ID: <42557040.40906@topicmapping.com>
To: torsten krohn | tsdb | the simpsons database <torsten@tsdb.de>
CC: www-xsl-fo@w3.org

Torsten,

torsten krohn | tsdb | the simpsons database wrote:

>Hi,
>
>how can I handle not well-formed XML for example
>
><class>
>  <Head><link rel="stylesheet" type="text/css"
>href="../../style.css"></Head>
></class>
>
>fop -xml test.xml -xsl test.xsl -pdf test.pdf
>results in
>[ERROR] The element type "link" must be terminated by the matching
>end-tag "</link>".
>
>To change the XML-data is out of the question. 
>
Can you filter it before you run FOP? If so, HTML Tidy (look around 
w3.org) will be your friend.

Jan

>Is it possible to adjust
>the XSL-file in such a way "ignore value"?
>
>Thank you, Torsten
> 
>
>
>
>
>
>  
>


-- 
Jan Algermissen
Consultant & Programmer
http://jalgermissen.com
Received on Thursday, 7 April 2005 17:39:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:13 GMT