470,648 Members | 1,680 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

creating xml file in javascript

Does anyone know how to create an xml element from scratch? I'd like to
create a document root, then add child nodes, all in javascript.

I need a way that will work in both IE 6 and Firefox -- feature
sniffing okay, browser detect isn't.

Thanks,

Cathy

Sep 26 '05 #1
3 17595
There is plenty of information on this on the internet if you search
for it.

See: www.w3schools.com for instance: look under XML Parser and XML
DOM

Also look up the Sarissa code library for cross-browser code.

Sep 27 '05 #2


EventListener wrote:
Does anyone know how to create an xml element from scratch? I'd like to
create a document root, then add child nodes, all in javascript.


<http://www.faqts.com/knowledge_base/view.phtml/aid/6827/fid/616>

--

Martin Honnen
http://JavaScript.FAQTs.com/
Sep 27 '05 #3
Thanks Martin. That looks like exactly what I needed.

(BTW hope you don't think I'm another lazy searcher -- I did search
the faqs before posting but didn't find the link above)

Sep 27 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Inpreet | last post: by
7 posts views Thread by Russ | last post: by
5 posts views Thread by jen_designs | last post: by
15 posts views Thread by Carlos Lozano | last post: by
1 post views Thread by Korara | last post: by
reply views Thread by warner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.