[xslt] xsl:number format="{$...}"



consider

  <xsl:variable name="Format">A</xsl:variable>

  <xsl:template match="/">
    <xsl:for-each select="//p">
      <xsl:number format="{$Format}"/>xxx
    </xsl:for-each>
  </xsl:template>

instead of generating

 Axxx

like Saxon etc, libxslt generates

 1$xxx

I presume this is a simple oversight? or is it a confusion in the spec?

Sebastian Rahtz





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]