BaseX current content is : <NodeX></NodeX>
Remote DataBase ( not xml ) requieres : <Value title="FNX" value="<NodeX></NodeX>">
This can be done with the fn:serialize() function:
(: start :) <Value title="FNX">{ serialize(<NodeX></NodeX>) }</Value> (: end :)
Note that you'll have to prefix your query with a "xhtml" output method declaration if you want to explicitly see the opening and closing tag:
(: start :) declare option output:method "xhtml";
<Value title="FNX">{ serialize(<NodeX></NodeX>) }</Value> (: end :)
Best, Christian