XML to text-3

XML to text looking at ways to convert a fragment of XML to text, for example for inclusion in an HTML span element
Approach Repetitions Average msec * XQuery length
UnSerialized element 100 0.79 79
$node/text() 100 0.81 102
Emp record 100 1.02 240
concat($text,$node..) 100 1.04 101
$node/string() 100 1.09 106
string($node) 100 1.14 104
$node/data() 100 1.19 102
$node/data(.) 100 1.21 104
$node/string(.) 100 1.26 108
data($node) 100 1.33 100
* relative times are more useful than absolute times. At present the execution time includes compilation of locally-declared functions although the code is cached.