View Full Version : replacing nodes with XQuery

08-27-2008, 08:53 AM
alright lets say we have example.xml







will this function allow me to change the name node, based on the userID?

function changeName(name){
replace node doc("example.xml")/users/userID[userID]/name
with "<name>" + name + "</name>"

Alex Vincent
08-28-2008, 06:25 PM
What language is this?

08-29-2008, 10:56 AM
What language is this?


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum