Solved

Filtering XML

Posted on 2007-04-05
2
188 Views
Last Modified: 2010-03-31
Hi,
 
i want to be able to remove some element from an XML before sending it to some server. This is happening in real-time. What tools can i use?
0
Comment
Question by:komlaaa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
cavey_79 earned 125 total points
ID: 18857790
You will probably have to parse the xml yourself and remove the offending elements. You can look at any easy examples of parsing with SAX and they will output nodes to the screen for example. That can be easily change to generate xml.

There's also the alternative of using an XSL stylesheet to generate another xml file from the input file. The XSL file will specify which nodes to keep out.

For a quick tutorial on XSL, go here:
http://www.w3schools.com/xsl/
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 18858340
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java: How do I open the default windows program for a given file type 3 62
servlet and mdb, jms error 1 82
Java 8 to Java 6 8 43
How to log java errors in tomcat 8 39
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question