Re: Making a small change to a large XML document

2007-09-25 Thread Paddy
On Sep 24, 11:38 pm, Dan Stromberg <[EMAIL PROTECTED]> wrote: > Say I want to take an existing XML document, and change the value="9997" > and value="9998" to two different numbers, without changing any of the > rest of the document - not even changing comments or indentation, if > avoidable. > > W

Re: Making a small change to a large XML document

2007-09-24 Thread Gerard Flanagan
On Sep 25, 12:38 am, Dan Stromberg <[EMAIL PROTECTED]> wrote: > Say I want to take an existing XML document, and change the value="9997" > and value="9998" to two different numbers, without changing any of the > rest of the document - not even changing comments or indentation, if > avoidable. > > W

Re: Making a small change to a large XML document

2007-09-24 Thread Shriphani
Dan Stromberg wrote: > Say I want to take an existing XML document, and change the value="9997" > and value="9998" to two different numbers, without changing any of the > rest of the document - not even changing comments or indentation, if > avoidable. > > What's the best way of doing it in python

Making a small change to a large XML document

2007-09-24 Thread Dan Stromberg
Say I want to take an existing XML document, and change the value="9997" and value="9998" to two different numbers, without changing any of the rest of the document - not even changing comments or indentation, if avoidable. What's the best way of doing it in python? My