XML/XSL problems
Barton Stanley
barton.stanley at innovision.com
Fri Oct 29 00:06:54 BST 1999
Lars,
If you are using the *printed* XML Bible, the problem may be that some of its examples have drifted out of date. If you are using the most up-to-date versions of XT, etc, the stylesheets in the printed book may no longer work as advertised. This is an educated guess on my part. I have not used the printed XML Bible. I have however seen the behavior that you describe and I was able to fix it.
The most important thing to check is the value of the 'xmlns:xsl' attribute in the 'xsl:stylesheet element'. This attribute should have a value of "http://www.w3.org/1999/XSL/Transform" if your stylesheet is to work with the most up-to-date XSLT processors. If it has any other value, you will likely get the behavior that you describe.
Try changing the value of this attribute and running the processor again. You should not get the same behavior.
You may get errors, however. This is because other things in XSLT may have changed as well. You might try checking the on-line version of Chapter 14 of the XML Bible at:
http://metalab.unc.edu/xml/books/bible/updates/14.html
This is up-to-date with the October 8 draft. This may help you sort out other errors you might get.
IE5's XSLT implementation is *very* out of date, so it (paradoxically) works with your stylesheets.
One more thing: I suggest that you post subsequent queries about XSL to xsl-list. You can subscribe to it at
http://www.mulberrytech.com/xsl/xsl-list/
There are lots of folks there who can help. Plus, you will generally get a quicker response to XSL queries there because it is a list dedicated to XSL.
Cheers,
Barton
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list