cweaverster@xxxxxxxxx wrote:
It actually got a little worse, or I discovered another bug, when I
changed the xml:stylesheet to xml-stylesheet.
This is the namespace declaration in the samples given at TopXML
xmlns:xsl="http://www.w3.org/TR/WD-xsl"
However, within the tutorial, on the same page just a little lower
down, the author correctly states that this is a previous standard and
no longer works. (As I found to be true.) The correct namespace is
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
So, with the stylesheet declaration changed in the xml file and the
namespace declaration changed in the stylesheet file, all is well with
FF and IE.
Thanks for your insight, and I sent a link to this conversation to the
tutorial author.
Who added a link to that stuff to devmo? I suggest removing it, the
stuff I heard so far doesn't make me think we should send people there
to learn XSLT.
Axel
Boris Zbarsky wrote:
cweaverster@xxxxxxxxx wrote:
Let me see if I've got this straight:
It doesn't work in FF because FF see's the error but it works in IE
because IE is blind to the error.
More or less. More precisely, as I understand it, IE implemented an early draft
of a spec, and didn't fix their code when the spec changed before being
finalized.
See also item 1 and item 7 at http://www.mozilla.org/projects/xslt/faq.html
-Boris
|