I think, that this will be useful for you:
http://www.unixcl.com/2010/01/replace-values-in-xml-using-sed-and-awk.html
Later Edit:
This will do it:
cat asd.xml | awk '{ x[NR] = $0 } END { for ( i=1 ; i<=NR ; i++ ) { if (x[i] ~ /<name>property2/ ) {x[i+4]=" <current>false</current>"}print x[i] }} ' > newfile.xml
where asd.xml is the original file, and newfile.xml the new one. Be sure to back up the original file first!