tests/misc/error/error-3260a.xsl
changeset 1034 412d4f6bb7bf
parent 635 b23a6b06e1d2
equal deleted inserted replaced
1033:82df2f880108 1034:412d4f6bb7bf
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0"><!--It is a non-recoverable dynamic
     2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0"><!--It is a non-recoverable dynamic
     3                error if the value of
     3                error if the value of
     4             $options includes an entry whose key is "spec" and whose value is not
     4             $options includes an entry whose key is "liberal" and whose value is not
     5             a single xs:string, or an entry whose key is "unescape" and whose value
     5             a single xs:boolean, or an entry whose key is "escape" and whose value
     6             is not a single xs:boolean.-->
     6             is not a single xs:boolean.-->
     7    <xsl:template name="main">
     7    <xsl:template name="main">
     8       <out>
     8       <out>
     9          <xsl:sequence select="json-to-xml('[1,2,3]', map{'liberal':'yes'})"/>
     9          <xsl:sequence select="json-to-xml('[1,2,3]', map{'liberal':'yes'})"/>
    10       </out>
    10       </out>