This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

does xsl:use-attribute-set work in xalan?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]