This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
xsl:namespace-alias in Xalan
- To: <xsl-list at mulberrytech dot com>
- Subject: xsl:namespace-alias in Xalan
- From: "Julian Reschke" <julian dot reschke at gmx dot de>
- Date: Fri, 11 Aug 2000 03:20:42 +0200
- Reply-To: xsl-list at mulberrytech dot com
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@greenbytes.de?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