Must variables that contain maps be typed?
Ihe Onwuka <[email protected]>
| Newsgroups | gmane.text.xml.saxon.help |
|---|---|
| Message-ID | <CALfs7+xXFonxgDjXxHb8i-_s9mcpx+FMGWbfNXWVy8v1TLSd8w@mail.gmail.com> |
Error in xsl:variable/@select on line 23 column 97 of****.xsl:
XPTY0004 The required item type of the first argument of map:for-each()
is map(*), but
the supplied expression {$actions} has item type document-node()
I get the above when there is no type declaration on $actions
<xsl:variable name="actions" >
<xsl:map>
etc
</xsl:map>
</xsl:variable>
Doesn't seem right to me.
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help