Subject: Re: [xsl] how to apply an XSL transformation on a "pseudo-HTML" file From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 17 Dec 2003 10:45:25 GMT |
> could XSL directly be applied on such an html file ? If your input uses html syntax (eg unclosed <br> ) then you will not be able to use an xml parser on it and do most xslt systems won't be able to use it. You will need to pre-process to make it in to xml. alternatively I think that there are some html (tag soup) parsers available these days that will emit a sax stream from html input, most of the java xslt engines would probably accept input from such a parser. David -- http://www.dcarlisle.demon.co.uk/matthew ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] how to apply an XSL transform, Fabrice Estiévenart | Thread | [xsl] Re: how to apply an XSL trans, Dimitre Novatchev |
AW: [xsl] UNIX-ANSI encoding with N, Sebastian Fey | Date | Re: AW: [xsl] UNIX-ANSI encoding wi, David Carlisle |
Month |