Subject: [xsl] An untyped atomic value cannot be converted to a QName ... From: "Costello, Roger L. costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 4 Jan 2016 20:15:42 -0000 |
Hi Folks, For xsl:value-of in the below function I am getting this error message: An untyped atomic value cannot be converted to a QName or NOTATION as required for the result of function f:QName-for-local-name() Why am I getting that error message? There are no "untyped atomic values" in xsl:value-of: the argument to fn:QName, $local-name, clearly has a type -- xs:string. How do I fix it? ----------------------------------------------------------- <xsl:function name="f:QName-for-local-name" as="xs:QName"> <xsl:param name="local-name" as="xs:string" /> <xsl:param name="schema" as="element(xs:schema)" /> <xsl:value-of select="QName((), $local-name)"/> </xsl:function> ----------------------------------------------------------- /Roger
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Why is pattern item/bar/text, Martin Honnen martin | Thread | Re: [xsl] An untyped atomic value c, Michael Müller-Hille |
[xsl] Why is pattern item/bar/text, Martin Honnen martin | Date | Re: [xsl] An untyped atomic value c, Michael Müller-Hille |
Month |