[xquery-talk] Re: Attribute node whose parent is a document node

Michael Kay mhk at mhk.me.uk
Sat Jul 9 12:32:33 PDT 2005


> 
> My first understanding was that we have an <xsl:value-of> 
> behaviour. It 
> appears that we are a behaviour which is closer to 
> <xsl:copy-of>. I can 
> figure this out this way :

You can also figure it out by reading the spec.

Yes, the content constructor for XQuery element construction behaves very
similarly to xsl:copy-of. If you want the values atomized (xsl:value-of) you
can achieve this using functions such as string() or data().

Michael Kay
http://www.saxonica.com/




More information about the talk mailing list