Saturday, May 14, 2011

[android-developers] Re: Appending nodes to an existing XML file

Can't be done. (Well, could be done, but would require some file
calisthenics. You'd need to scan through the file to find the closing
tag, figure out what record that begins with -- it might actually span
records -- then write your new tags in place of the closing tag and
restore the closing tag. It would be difficult to do all of this
using standard XML scanners, so you'd have to write your own or hack
an existing open source one. And most likely you'd not want to insert
your new tags directly in the outermost tag environment, but nested
somewhat, making for even more complicated code.)

On May 14, 8:02 am, surya tej <akkirajusurya...@gmail.com> wrote:
> Dear All,
>
> I would like to append a node to an existing XML file.I  doesn't want to
> rewrite the entire XML again.I just want to append the required node.
>
> I hardly could find resources for this scenario.I badly need the
> solution.Kindly help me.It would be great if you can give the entire source
> code.
>
> Thanks in advance.
>
> --
> Thanks & Regards,
>
> Suryatej,
>  9247714040.
>
> Please  Save paper,   Save trees.
> Please don't print this email and documents unless it is really necessary.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate