xsl-list
[Top] [All Lists]

Re: img tag and Saxon

2005-08-22 03:45:14

I am using HTML to create PDF by using FO.

Most FO processors use XSLT to process there input, and most XSLT
processors require XML input.

So either you will need to convert your html to xml before processing it
(eg by using the well known tidy program, or the John Cowan's tag-soup
parser)


or generate xml rather than html in the first place (eg generate xhtml).

If you are generating html then you can not have an end tag, both <img/>
and <img></img> are syntax errors in html.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. 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
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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