2 Jan
2013
2 Jan
'13
11:35 a.m.
Dear Team, I am getting error - If expression : no updating expression allowed - while trying to update the "Data" DB. I need to update the DB, if it is not already updated... for $c in doc('2012')/Docs/Doc/No/@n return if (string-length(doc('Data')/Docs/Doc[No/@n=$c]/Title/Name/text()) eq 0) then insert node $c into doc('Data')/Docs else <l>{''}</l> -- Have a nice day JBest