[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: An untyped atomic value cannot be converted to a

Subject: Re: An untyped atomic value cannot be converted to a QName ...
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 Jan 2016 23:55:45 -0000
Re:  An untyped atomic value cannot be converted to a
Actually, xsl:value-of creates a text node. Because the declared return type
of the function is atomic, atomization of this text node is attempted. The
result of atomizing the text node is untypedAtomic, and untypedAtomic cannot
be converted to the declared result type (xs:QName) - hence the error
message.

Michael Kay
Saxonica


> On 4 Jan 2016, at 20:39, Costello, Roger L. costello@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
>> Maybe by using xsl:sequence instead of xsl:value-of which always creates a
string.
>
> Ah!
>
> Yes, that solved it. Thanks Michael!
>
> /Roger

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.