Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EDIT AND DELETE XML DOCUMENT

 
Roisin Dunne
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have an XML document and i am using the DOM to manipulate this document. i am also using Javascript
does anyone know how to go about delete nodes and editing nodes using these languages?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can not do it permanently with JavaScript if that is what you are after.
 
Roisin Dunne
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes but using JAvaSCript and the DOm u can
i was wondering if anyone knew how it could be done
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do it with any browser that supports ActiveX controls (AKA IE only)
You can read this here:
http://www.w3schools.com/xml/xml_parser.asp
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic