You can pass the node name: declare variable $doc_name as xs:string external; declare variable $userid as xs:string external; declare variable $update_node external; declare variable $new_value as xs:string external; let $users_doc := doc($doc_name)/users let $old_node := $users_doc/useruserid=$userid/*name()=$update_node return replace value of node $old_node with $new_value.
Alejandro: Thanks..yet again :) – sony Nov 14 '10 at 22:13 @sony: You are wellcome, ask any time. – user357812 Nov 14 '10 at 22:26 +1 for a correct answer. – Dimitre Novatchev Nov 15 '10 at 1:16.
I think you need to change the line let $old_node := $users_doc/useruserid=$userid/{$update_node} for let $old_node := $users_docuserid=$userid/{$update_node}.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.