5 Aug
2009
5 Aug
'09
8:48 p.m.
The following XQuery fragment will add the speakername attribute as an attribute of the <p> tag: <p>{$res/../@speakername}: {$res}</p> becomes: <p speakername="Roy Walter">Some text...</p> What I want is: <p>Roy Walter: Some text...</p> How does MonetDB/XQuery handle this? I tried: <p>{xs:string($res/../@speakername)}: {$res}</p> but it errors. -- Roy