tests/fn/json-to-xml/json-to-xml-E.xsl
changeset 1034 412d4f6bb7bf
parent 938 48070b20cd79
equal deleted inserted replaced
1033:82df2f880108 1034:412d4f6bb7bf
   224     </xsl:template>
   224     </xsl:template>
   225     <xsl:template name="json-to-xml-error-025">
   225     <xsl:template name="json-to-xml-error-025">
   226         <xsl:variable name="metadata">
   226         <xsl:variable name="metadata">
   227             <description>Unescape option error</description>
   227             <description>Unescape option error</description>
   228             <created by="John Lumley" on="2013-10-01"/>
   228             <created by="John Lumley" on="2013-10-01"/>
   229             <environment ref="JSON-XML"/>
   229             <modified by="Debbie Lockett" on="2015-08-12" change="Change keyword unescape->escape"/>
   230         </xsl:variable>
   230             <environment ref="JSON-XML"/>
   231         <xsl:variable name="json">["String"]</xsl:variable>
   231         </xsl:variable>
   232         <xsl:copy-of select="json-to-xml($json, map{'unescape':()})"/>
   232         <xsl:variable name="json">["String"]</xsl:variable>
       
   233         <xsl:copy-of select="json-to-xml($json, map{'escape':()})"/>
   233     </xsl:template>
   234     </xsl:template>
   234     <xsl:template name="json-to-xml-error-026">
   235     <xsl:template name="json-to-xml-error-026">
   235         <xsl:variable name="metadata">
   236         <xsl:variable name="metadata">
   236             <description>Unescape option error</description>
   237             <description>Escape option error</description>
   237             <created by="John Lumley" on="2013-10-01"/>
   238             <created by="John Lumley" on="2013-10-01"/>
   238             <environment ref="JSON-XML"/>
   239             <modified by="Debbie Lockett" on="2015-08-12" change="Change keyword unescape->escape"/>
   239         </xsl:variable>
   240             <environment ref="JSON-XML"/>
   240         <xsl:variable name="json">["String"]</xsl:variable>
   241         </xsl:variable>
   241         <xsl:copy-of select="json-to-xml($json,map{'unescape':(true(),true())})"/>
   242         <xsl:variable name="json">["String"]</xsl:variable>
       
   243         <xsl:copy-of select="json-to-xml($json,map{'escape':(true(),true())})"/>
   242     </xsl:template>
   244     </xsl:template>
   243     <xsl:template name="json-to-xml-error-027">
   245     <xsl:template name="json-to-xml-error-027">
   244         <xsl:variable name="metadata">
   246         <xsl:variable name="metadata">
   245             <description>Unescape option error</description>
   247             <description>Escape option error</description>
   246             <created by="John Lumley" on="2013-10-01"/>
   248             <created by="John Lumley" on="2013-10-01"/>
   247             <environment ref="JSON-XML"/>
   249             <modified by="Debbie Lockett" on="2015-08-12" change="Change keyword unescape->escape"/>
   248         </xsl:variable>
   250             <environment ref="JSON-XML"/>
   249         <xsl:variable name="json">["String"]</xsl:variable>
   251         </xsl:variable>
   250         <xsl:copy-of select="json-to-xml($json, map{'unescape':'EMCA-262'})"/>
   252         <xsl:variable name="json">["String"]</xsl:variable>
       
   253         <xsl:copy-of select="json-to-xml($json, map{'escape':'EMCA-262'})"/>
   251     </xsl:template>
   254     </xsl:template>
   252     <xsl:template name="json-to-xml-error-028">
   255     <xsl:template name="json-to-xml-error-028">
   253         <xsl:variable name="metadata">
   256         <xsl:variable name="metadata">
   254             <description>Fallback option not function </description>
   257             <description>Fallback option not function </description>
   255             <created by="John Lumley" on="2013-10-01"/>
   258             <created by="John Lumley" on="2013-10-01"/>