xsl-list
[Top] [All Lists]

RE: RE: XML/XSLT to HTML output

2002-09-18 10:52:02
[CROFT, MICHAEL]
... The output in the browser shows the 
marked-up XML document correctly and looks like an HTML 
document.  

It IS HTML.  It is represented in the browser as an ordinary DOM, and
displayed like any other HTML document.  However, the HTML that was used
to create the DOM is  apparently not kept around after the DOM is
created.

The Customer Service Representative wants to be 
able to save this file and email it.  When you try to save 
the file, it saves it as an XML document so of course they 
lose all the markup.  ... when transformed in 
the browser, the file cannot be saved as an html document, 
and so the report is useless to the Customer Service 
Representative as an xml document.  Is this a browser issue?  

It depends on the browser.  With IE, it has been reported, an actual
HTML file is created which is then ingested by the browser, then
discarded.  With Mozilla, no actual html file is created - the  result
of the transformation is used directly to build the DOM for the document
- and so there is nothing to capture.

With IE, you have already been given the solution - get the add-on tool
set, right-click on the page, select "View XSL Output",  and you will be
able to see the output of the transformation.  

Cheers,

Tom P



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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