(Q14) Variable $e is bound to some element with numeric content. Construct a new element having the same name and attributes as $e, and with numeric content equal to twice the content of $e.LET $tagname := name($e) RETURN <$tagname> $e/@*, -- replicates the attributes of $e 2 * number($e) </$tagname> |
|||
|