Annotation of parser3/tests/412.html, revision 1.1
1.1 ! moko 1: $xdoc[^xdoc::create{^process{<?xml version="1.0"?>
! 2: <data>
! 3: <row id="1"/>
! 4: <row id="a"/>
! 5: <row id="2"/>
! 6: </data>
! 7: }}]
! 8: $sheet[^xdoc::create{<?xml version="1.0"?>
! 9: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
! 10:
! 11: <xsl:template match="data">
! 12: <xsl:apply-templates/>
! 13: </xsl:template>
! 14:
! 15: <xsl:template match="row">
! 16: <xsl:variable name="string_data"><xsl:value-of select="@id"/></xsl:variable>
! 17: <xsl:value-of select="normalize-space(^$string_data)"/> is a number? <xsl:if test="string(number(^$string_data)) != 'NaN'">yes</xsl:if>
! 18: </xsl:template>
! 19: </xsl:stylesheet>
! 20: }]
! 21:
! 22: $xdoc[^xdoc.transform[$sheet]]
! 23: ^xdoc.string[$.method[html]]
E-mail: