From: Milo Luo Date: 2010-01-17T17:20:42+09:00 Subject: Re: How can I modify the xml file directly? Seebs wrote: > On 2010-01-16, Milo Luo wrote: >> I meant without string or tmp file, write to original file. > > In general, on most systems, the only modifications you can make without > a temporary file or something comparable are those which do not change > the > number of characters in a file. You can't insert or delete characters > in > the middle of a file. > > -s Hi, Seebs Do you mean it's related with the file system API? If it can located or got the node & text from XML, it should be modified the node or text value without too many problems. I don't know if I misunderstand the process of getting the node & text. Anyway, thanks. :) BR, Milo -- Posted via http://www.ruby-forum.com/.