Subject: does xsl:use-attribute-set work in xalan?
From: "Mok, CheeKong (C.)" <cmok@xxxxxxxx>
Date: Wed, 17 Jan 2001 10:25:52 -0500
|
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
|