RE: [xsl] Problem with iterating through a sequence of integers

Subject: RE: [xsl] Problem with iterating through a sequence of integers
From: "Costello, Roger L." <costello@xxxxxxxxx>
Date: Mon, 28 Apr 2008 16:41:30 -0400
Hi David,

> Why would you want to have a test of . instance of node()
> in a context where it can be statically determined that .
> is not a node?

I am using the xsl:choose statement with varied XPath expressions in
the for-loop, e.g.

    <xsl:for-each select="//Book/Author">
       -- the xsl:choose statement --
    </xsl:for-each>

I want the choose statement to work regardless of whether the
for-loop's XPath expression contains nodes or atomic values.

Any suggestions on how to solve this?

/Roger

Current Thread