tests/misc/error-code/error-code-348.xsl
changeset 895 c964d5bbd00e
parent 894 0fc26a1f66f4
child 896 b99b90a57a1c
equal deleted inserted replaced
894:0fc26a1f66f4 895:c964d5bbd00e
     1 <?xml version="1.0"?> 
       
     2 
       
     3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
       
     4 xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:my="http://my.com/">
       
     5 
       
     6 <?error XTSE1295?>
       
     7 
       
     8 <xsl:decimal-format name="d" zero-digit="2"/>
       
     9 
       
    10 
       
    11 
       
    12 
       
    13 
       
    14 
       
    15   <xsl:template name="main">
       
    16     <xsl:variable name="e" as="element()"><e/></xsl:variable>
       
    17     <xsl:variable name="d"><e/></xsl:variable>    
       
    18     <out>
       
    19         <xsl:sequence select="format-number(12, '##0', 'd')"/>
       
    20     </out>
       
    21   </xsl:template>
       
    22   
       
    23 
       
    24 
       
    25 
       
    26 </xsl:stylesheet>