This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
does xsl:use-attribute-set work in xalan?
- To: "'XSL-List at lists dot mulberrytech dot com'" <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] does xsl:use-attribute-set work in xalan?
- From: "Mok, CheeKong (C.)" <cmok at ford dot com>
- Date: Wed, 17 Jan 2001 10:25:52 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
i have a simple example
------------------------------------------
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:attribute-set name="foo">
<xsl:attribute name="bar">hello</xsl:attribute>
</xsl:attribute-set>
<xsl:template match="/">
<toto xsl:use-attribute-set="foo"/>
</xsl:template>
</xsl:stylesheet>
-----------------------------------------
using xalan, i get
<?xml version="1.0" encoding="UTF-8"?>
<toto/>
instead of
<?xml version "1.0" encoding="UTF-8"?>
<toto bar="hello"/>
is this a bug? or am i confused?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list