Re: TopXML Tutorial on XSLT and XPath
[email protected] 5 Jun 2006 11:21:49 -0700
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
In all fairness to the TopXML people, although their examples are out of date, the text is not bad. Overall, I like the tutorial so far. This is my first exposure to xslt and I'm not having any trouble getting it in my head. What is telling however, is that no one has reported this error before. The online examples were fixed the same day I reported the bug to them (they're apparantly still working on the zip files) - so I must assume that up till now no one had noticed; which would mean no one had used the demos! Have you seen other reports on their material? Axel Hecht wrote: > [email protected] 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: > >> [email protected] 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 > >