472,143 Members | 1,644 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,143 software developers and data experts.

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 2099
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.