xsl-list
[Top] [All Lists]

Re: [xsl] browser text output - works in FF, but not in Safari and Opera

2008-11-19 08:52:51
Robert Koberg wrote:

Does anyone have any familiarity with browser transformations that have xsl:output method="text"? (actually a JSON string)

The transform works for me in Firefox (3.0.4), but not in Safari (3.2) or Opera (9.61).

The following test case (not using Sarissa but simply the existing APIs (XMLHttpRequest, XSLTProcessor)
http://home.arcor.de/martin.honnen/xslt/test2008111901.html
works for me with Firefox 3 and Opera 9. Tested on Windows.

It calls transformToDocument and then the text result is the textContent of the root element (documentElement) of the XML document the call returns.


--

        Martin Honnen
        http://JavaScript.FAQTs.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>