You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dm...@apache.org on 2001/06/21 23:05:25 UTC
cvs commit: xml-xalan/test/tests/conf/node node18.xsl node18.xml
dmarston 01/06/21 14:05:25
Added: test/tests/conf/node node18.xsl node18.xml
Log:
Another molecular case: node test as function argument
Revision Changes Path
1.1 xml-xalan/test/tests/conf/node/node18.xsl
Index: node18.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- FileName: node18 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.3 Node Tests -->
<!-- Creator: David Marston -->
<!-- Purpose: Test for node test in argument to count() function. -->
<xsl:template match="/doc">
<out><xsl:value-of select="count(.//comment())"/></out>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/conf/node/node18.xml
Index: node18.xml
===================================================================
<?xml version="1.0"?>
<doc>
<!-- This is the 1st comment -->
text-in-doc
<inner>
inner-text
<!-- This is the 2nd comment -->
<sub>subtext</sub>
</inner>
text-in-doc2
<more>
inner-text
<!-- This is the 3rd comment -->
<sub>subtext</sub>
</more>
text-in-doc3
</doc>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org