469,364 Members | 2,346 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,364 developers. It's quick & easy.

xml parser - write into XML

Hi all,

I am trying to read and write an XMl thro HTML.

I am first loading the file in IE and then reading the XML and
updating HTML thro getmessage()

document.getElementById("to").innerHTML=
xmlDoc.getElementsByTagName("to")[0].childNodes[0].nodeValue ;

I am not sure how to write the XML through HTML.

alternately even if anyone can help me to update an xml with the given
string thro a C++ prog, that would be extremely helpful.

thanks in advance,

utkarsh.

Mar 1 '07 #1
2 2052
utkarsh bidkar wrote:
I am trying to read and write an XMl thro HTML.

I am first loading the file in IE and then reading the XML and
updating HTML thro getmessage()

document.getElementById("to").innerHTML=
xmlDoc.getElementsByTagName("to")[0].childNodes[0].nodeValue ;

I am not sure how to write the XML through HTML.
It is not clear what you want to achieve. Show us the relevant input XML
and tell us exactly what you want to display in that HTML element ided
as 'to'.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Mar 1 '07 #2
git
This looks like an ideal use for the technology normally used for AJAX.

I am working on describing exactly this sort of stuff at
www.nerds-central.com

First off have a look at:
http://nerds-central.blogspot.com/20...pt-exsead.html

But I also have code that does 100% the sort of thing you are talking
about in an xml-rpc jscript library that we at TPN use all the time for
xml-rpc/ajax. I will try and find time to write it up soon.

Also - please feel free to join the emailgroup
http://tech.groups.yahoo.com/group/nerds-central/

I am trying to get it started up and running nicely for support of people
doing exactly this sort of thing.

Cheers

AJ
Mar 4 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by anton muhin | last post: by
4 posts views Thread by annoyingmouse2002 | last post: by
16 posts views Thread by Mike | last post: by
5 posts views Thread by Bill Cunningham | last post: by
14 posts views Thread by WUV999U | last post: by
4 posts views Thread by siddharthkhare | last post: by
6 posts views Thread by mahesh.kanakaraj | last post: by
28 posts views Thread by Marc Gravell | last post: by
1 post views Thread by Peter Ammon | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.