After running XUpdate example, the home phone element has been removed and work phone value has been changed. However, one blank line and some spaces are appeared in the xml file and work phone element line. How can solve this?
Thanks, Jia person xmlns:src="http://xml.apache.org/xindice/Query" src:col="/db/addressbook" src:key="address2"> <fname xmlns:src="http://xml.apache.org/xindice/Query">SlackJawedLocal</fname> <lname xmlns:src="http://xml.apache.org/xindice/Query">Cletus</lname> <phone type="work" xmlns:src="http://xml.apache.org/xindice/Query">480-300-3003 </phone> <phone type="cell" xmlns:src="http://xml.apache.org/xindice/Query">345-678-9012</phone> <email type="home" xmlns:src="http://xml.apache.org/xindice/Query">[EMAIL PROTECTED]</email> <email type="work" xmlns:src="http://xml.apache.org/xindice/Query">[EMAIL PROTECTED]</email> <address type="home" xmlns:src="http://xml.apache.org/xindice/Query">1234 S. Elm St.</address> <address type="work" xmlns:src="http://xml.apache.org/xindice/Query">4567 W. Pine St.</address> </person>