[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl:namespace-alias in Xalan

Subject: xsl:namespace-alias in Xalan
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Fri, 11 Aug 2000 03:20:42 +0200
xsl namespace alias 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.