File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "XML editing Tools" Watch "XML editing Tools" New topic
Author

XML editing Tools

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29219
    
134

Mark,
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?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, 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?


42
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML editing Tools
 
Similar Threads
xml
Choose the right answer
XSLT value-of parameter not works as xml value
Convert Word to XML
Regex | Parse | Split?