[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to select a document element from the input xm
> When I implemented it this way: > > <?xml version="1.0" encoding="UTF-8" ?> > <stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" version="1.0" > xmlns:xsl="dummy"> > <namespace-alias stylesheet-prefix="xsl" result-prefix=""/> > > .... > And then debug, I got an "unexpected value" error at the line > <namespace-alias stylesheet-prefix="xsl" result-prefix=""/> > > What is wrong? Both Xalan 2.5.1 and Saxon 6.5.3 work with this, however, according with the XSLT specification [1] the value #default may be used for specifying the default namespace so you can try: <namespace-alias stylesheet-prefix="xsl" result-prefix="#default"/> Alternatively you can define a proxy for the http://www.w3.org/1999/XSL/Transform namespace and use that in the result-prefix attribute value. [1] http://www.w3.org/TR/xslt#literal-result-element Best Regards, George ------------------------------------------------------- George Cristian Bina mailto:george@xxxxxxxxxxxxx <oXygen/> XML Editor - http://www.oxygenxml.com/
|
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
|