Annotation of parser3/tests/296.html, revision 1.2
1.1 moko 1: @main[]
2:
3: $document[^xdoc::create{<?xml version="1.0"?><document>test</document>}]
4:
5: $new[^document.transform[parser://xsl/1]]
6: "^new.string[]"
7:
1.2 ! moko 8: ^try-catch{
1.1 moko 9: $new[^document.transform[parser://xsl/2]]
10: }
11:
12: @xsl[param]
13: <?xml version="1.0"?>
14: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
15: <xsl:template match="/">
16: ^if($param eq '/1'){ok}{<fail>} : <xsl:value-of select="."/>
17: </xsl:template>
18: </xsl:stylesheet>
19:
E-mail: