[F&O]15.1.3.1 Examples fn:index-of

This excerpt is from the
XQuery 1.0 and XPath 2.0 Functions and Operators
W3C Working Draft 23 July 2004 -  section 15.1.3.1 examples , fn:index-of

	If @a is an attribute of type xs:string* whose typed value is "red green blue", 
	then: fn:index-of (@a, "blue") returns 3. This is because the function calling mechanism 
	atomizes the attribute node to produce a sequence of three strings.

Could  an attribute  be of type xs:string* ? 
In my opinion in 
<x a="red green blue"/>
the the attribute a would atomize to  a single string value, not three.

regards
Margaret Grün-Kerr


... Margaret A. Grün-Kerr
... Quality Assurance Engineer
... Altova GmbH

===================================================================
xmlspy® 2004 - mapforce(tm) 2004 - authentic® 2004 - stylevision® 2004
Award-winning tools for developers, data architects, business-users
NEW: XML/Database/EDI Mapping with XSLT/Java/C#/C++ code generation 
Brand new  Advanced Text View,  XML-aware  Differencing and Merging
Customizable  XSLT Libraries,  Mapforce Engine  for instant preview
Database Reporting  to HTML and PDF via XSLT and XSL:FO Stylesheets
Visit  www.altova.com  to download your free evaluation copy today!
===================================================================

The information transmitted in this message and/or as an attachment
to it  is intended  only for the  person or  entity to  which it is
addressed and may contain confidential  and/or privileged material.
Any  review,  retransmission,  dissemination  or  other use of,  or
taking of any action in reliance upon,  this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error,  please contact  the sender  and delete the
material from any computer.  Altova GmbH  and  Altova, Inc.  do not
accept legal responsibility  for the contents of this message.  Any
views or opinions  presented are solely  those of the author and do
not  necessarily  represent those of  Altova GmbH and  Altova, Inc.
unless otherwise specifically stated. Thank you!

[

Received on Friday, 13 August 2004 10:06:29 UTC