View Single Post
  #20  
Old May 18th 13, 02:34 AM posted to alt.windows7.general
Char Jackson
external usenet poster
 
Posts: 10,449
Default How to Edit an xml file

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. ;-)

--

Char Jackson
Ads