Annotation of parser3/tests/296.html, revision 1.1
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:
! 8: ^try_catch{
! 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:
! 20:
! 21: @try_catch[code]
! 22: ^try{
! 23: $code
! 24: }{
! 25: $exception.handled(true)
! 26: $result[Exception: $exception.source - $exception.comment]
! 27: }
E-mail: