[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl:namespace-alias in Xalan
Hi, I have trouble using the <xsl:namespace-alias> element in Xalan; for example: <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:x="mailto:julian.reschke@xxxxxxxxxxxxx?subject=gen-xslt-from-xdr.xslt" xmlns:s="urn:schemas-microsoft-com:xml-data" exclude-result-prefixes="s" > <xsl:output omit-xml-declaration="yes" indent="yes" /> <xsl:namespace-alias stylesheet-prefix="x" result-prefix="xsl"/> <xsl:template match="/"> <x:transform /> </xsl:template> </xsl:transform> gives <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" /> both in MSXML3 and Saxon, but Xalan (C++ version) produces: <x:transform xmlns:s="urn:schemas-microsoft-com:xml-data"/> So, a) exclude-result-prefixes doesn not work (and Xalan issues a warning), b) the transform element is put into a namespace with name "x", but the namespace is not declared. Where can I find a list of open conformance problems for Xalan? Julian XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|