View Single Post
  #22  
Old May 18th 13, 11:54 PM posted to alt.windows7.general
Gene E. Bloch[_2_]
external usenet poster
 
Posts: 7,485
Default How to Edit an xml file

On Fri, 17 May 2013 20:34:46 -0500, Char Jackson wrote:

On Wed, 15 May 2013 11:56:50 -0700, "Gene E. Bloch"
wrote:

On Wed, 15 May 2013 12:13:03 -0400, Paul wrote:

At the very end of the file, I see 0x00 0x0a 0x00 0x00 0x00,
and you probably can't create that with a text editor. When
reassembling the file and bolting it back together, check
that the postamble is correct. I don't know why there is a
Unicode zero down there. A text editor shows that character
as a square. If saving out the file happens to remove it,
you can put that back with the hex editor.


I use this hex editor:

http://mh-nexus.de/en/

And that was pretty good detective work, Paul!


Ahem, didn't we collectively discuss this very same topic a few months ago
in this group? I clearly remember pointing out that the actual xml resides
at the end of the file. Oh well, I guess if it's worth discovering, it's
worth discovering again. ;-)


I don't recall the earlier discussion, but I have to agree with your
last remark anyway.

Now if only my friends would agree that a story worth telling once is
worth telling twice...or thrice...or...

--
Gene E. Bloch (Stumbling Bloch)
Ads