[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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|