File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes XML editing Tools Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "XML editing Tools" Watch "XML editing Tools" New topic

XML editing Tools

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

OK, we have this process for setting up our client on our own desktops. It requires going into an XML file and removing all <xxx> tags, which are nested within the document. Does anyone know a tool out there that I can open the XML document in and it would remove all the <xxx> tags and values within them from the entire document?

Besides writing a Perl script. Which is my last resort.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33102

I may be missing the obvious here, but if you remove all the tags and their contents what do you have left? The whole document is in a tag. Or are you trying to remove certain specific tags?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
What about creating a template document for that XML file and using that instead when delivering?

I agree. Here's the link:
subject: XML editing Tools
It's not a secret anymore!