File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes EDIT AND DELETE XML DOCUMENT Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "EDIT AND DELETE XML DOCUMENT" Watch "EDIT AND DELETE XML DOCUMENT" New topic
Author

EDIT AND DELETE XML DOCUMENT

Roisin Dunne
Greenhorn

Joined: Feb 19, 2004
Posts: 12
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

Joined: Nov 08, 2001
Posts: 15003
You can not do it permanently with JavaScript if that is what you are after.
Roisin Dunne
Greenhorn

Joined: Feb 19, 2004
Posts: 12
yes but using JAvaSCript and the DOm u can
i was wondering if anyone knew how it could be done
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
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
 
 
subject: EDIT AND DELETE XML DOCUMENT
 
Threads others viewed
XPath Technology
XPath
Difference between a parser and xsl
Using SAXON as parser
XML Parsing error
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com