Re: Must variables that contain maps be typed?
Michael Kay <mike-JkSD5nQpfvpWk0Htik3J/[email protected]>
| Newsgroups | gmane.text.xml.saxon.help |
|---|---|
| Message-ID | <[email protected]> |
> > i thought the general rule was that it was never mandatory to specify a type. > Specifying a type on a variable that contains a sequence constructor suppresses the default action of constructing a document node. If the xsl:variable contains a sequence constructor that delivers a map, it is never appropriate to wrap this in a document node, so the "as" attribute is effectively mandatory. Michael Kay Saxonica _______________________________________________ saxon-help mailing list archived at http://saxon.markmail.org/ [email protected] https://lists.sourceforge.net/lists/listinfo/saxon-help