Re: handle not well-formed XML

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 UTC