xsl-list
[Top] [All Lists]

RE: img tag and Saxon

2005-08-22 04:10:42
If you are generating HTML, use the html output method, and Saxon will
serialize an img tag as <img src="x">. XSL-FO processors want XML as input,
not HTML, so they won't be able to handle it.

If you are generating XML, use the xml output method, and Saxon will
serialize the img tag as <img src="x"/>. But an XSL-FO processor still won't
be able to handle it, because <img> is not a formatting object that it
recognizes.

Michael Kay
http://www.saxonica.com/
  

-----Original Message-----
From: Ranjan K. Baisak [mailto:ranjanbaisak(_at_)yahoo(_dot_)com] 
Sent: 22 August 2005 11:33
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] img tag and Saxon

Well..saxon is used to generate html from xml for
display purpose. I am using HTML to create PDF by
using FO.
So I have to generate html than xml.

-Ranjan

--- David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:


I am working on saxon 6.5.3. If my xml has an img
tag,
then output produced by saxon does not have
closing
tag i


It will if you generate xml rather than html output.

which was creating problem during FO processing.

If you are generating FO why are you generating img
elements at all?

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>
--~--





              
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

--~------------------------------------------------------------------
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>
--~--





--~------------------------------------------------------------------
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>