Re: [xsl] Client-side cross-platform API

Subject: Re: [xsl] Client-side cross-platform API
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Thu, 18 Feb 2010 06:52:24 -0800
> On Thu, 2010-02-18 at 04:31 -0700, Eric J. Bowman wrote:
>> Michael Dykman wrote:
>>>
>>> BTW: I have enjoyed this thread knowing that I am not the only one
>>> pushing XSL in the browser.  Does anyone other than me think it's a
>>> good idea to start a dedicated list for this domain?  The discussions
>>> on this list tend to center on XSL 2.0 and discussions of browser
>>> quirks and the like are generally considered off-topic.
>>>
>>
>> +1.  I can't for the life of me figure out my problem, but it's
>> obviously nothing I've done wrong in my XSLT code, which works in every
>> browser I've tested it in.  Depending on how it's called?
>>
>> http://charger.bisonsystems.net/xmltest/index.xht (javascript)
>> http://charger.bisonsystems.net/xmltest/test.xht (xml-stylesheet)
>> http://charger.bisonsystems.net/xmltest/xsl/ (has text/plain variants)
>>
>> It's the same *%&#^!@ code either way.  If anything, I'd expect Opera
>> and WebKit to agree, seeing as how they're both libxslt.  Firefox just
>> works, Opera only works when XSLT is called by Javascript, WebKit only
>> works when an xml-stylesheet PI is used...
>>
>> So my question is basically "WTF?" but there's really nowhere to ask it.


I haven't tried in a while, but Opera did not support the document function (I
see you are using the document()). From the Opera 9.5 changelog, support for
the document() was added (latest version I see is 10.10)

If you comment out the document() calls, does it work in Opera?

-Rob

Current Thread