The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 05-27-2009
potro's Avatar
potro potro is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 61
Hi,

The modification is done during the installation process from a bash script, this is why I cannot use an editor.

For the second issue I read 2 variables from user input and I need to replace the value in the XML file.

Thanks,
Bianca

Quote:
Originally Posted by fpmurphy View Post
You are can use any editor, including sed, on an XML document. There is no requirement to use a specific editor.

In general white space does not matter in an XML document so long as it is well-formed and valid. Basically, a document is well-formed if it follows the syntax rules of the XML specification and the elements within it are correctly nested and part of a unique root.