Solved

Parsing XMLString

Posted on 2003-10-28
3
158 Views
Last Modified: 2013-11-23
How to convert  a String to XML object and parse the XML object ?
Actually I pass the XML as String parameter to another servlet but I could not convert the String to XML object in the receiving servlet since SAX,ECS,JAXP doesnt allow to parse a String object.
0
Comment
Question by:s_j_vijay
[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
3 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 125 total points
ID: 9632846
Use a StreamSource with a StringReader
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 9633129
:-)
0
 

Expert Comment

by:bhojwanc1
ID: 11025946
Example of How to convert the String to XML object and parse the xml object.  Actually I pass the XML as String parameter and then I want to get a value for a particular attribute.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql import cannot be resolved jsp 3 75
how to debug htl and js pages 8 57
What browser will run Java? 7 127
How to fix  socket closed error 11 29
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This video teaches viewers about errors in exception handling.

733 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