[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML/XSL problems
The Oracle XML Parser v2.0.2.4 implements the October 8, 1999 XSLT Proposed Recommendation, so the XSL URI is likely the culprit here. The reason your stylesheet gets returned is that, since the processor doesn't recognize your <xsl:stylesheet> element as being from the namespace with namespace URI http://www.w3.org/1999/XSL/Transform , it has to assume that you just picked the three letters "xsl" as a prefix for your non-XSL namespace and it needs to treat those as a "Literal Result Element" which is a legal way to start a simple, one-template stylesheet. ________________________________________________________ Steve Muench, BC4J Development Team & XML Evangelist http://technet.oracle.com/tech/java http://technet.oracle.com/tech/xml ----- Original Message ----- From: Barton Stanley <barton.stanley@i...> To: Xml-Dev <xml-dev@i...> Cc: Lars George <lgeorge@g...> Sent: Thursday, October 28, 1999 3:06 PM Subject: Re: XML/XSL problems | 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@i... | Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 | To unsubscribe, mailto:majordomo@i... the following message; | unsubscribe xml-dev | To subscribe to the digests, mailto:majordomo@i... the following message; | subscribe xml-dev-digest | List coordinator, Henry Rzepa (mailto:rzepa@i...) | | xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|