Re: May XSLT - 9.3 Values of Variables and Parameters

> Could XSLT provide a no-namespace synonym such as "sequence" for the
> most general type, so that if you want a sequence rather than a tree you
> go as="sequence" ?

Forget that, I think item()* is available for that use.

Hoever at the beginning of 9.1 it says

  If the as attribute is omitted, the supplied value of the variable is
  used directly, and no conversion takes place. The effect is the same as
  if the type were specified as item()*. 

which is misleading as it implies that omitting as= is the same as
specifying as="item()*" which isn't true for xsl:variable, as explained
in 9.3.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Received on Friday, 13 June 2003 09:34:02 UTC