File:  [parser3project] / parser3 / tests / 296.html
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Sun Oct 20 21:06:15 2013 UTC (12 years, 7 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, release_3_4_6, release_3_4_5, release_3_4_4, release_3_4_3, HEAD
try_catch -> try-catch

@main[]

$document[^xdoc::create{<?xml version="1.0"?><document>test</document>}]

$new[^document.transform[parser://xsl/1]]
"^new.string[]"

^try-catch{
    $new[^document.transform[parser://xsl/2]]
}

@xsl[param]
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
^if($param eq '/1'){ok}{<fail>} : <xsl:value-of select="."/>
</xsl:template>
</xsl:stylesheet>


E-mail: