aspose file tools*
The moose likes XML and Related Technologies and the fly likes Parsing a DOM object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Parsing a DOM object" Watch "Parsing a DOM object" New topic

Parsing a DOM object

Alan Flanders

Joined: Jul 05, 2001
Posts: 1
Here's an interesting problem. Every example out there right now will parse an xml file. I want to parse a DOM object using a schema. I am trying to put together a p2p app using SOAP. There are methods available that will serialize a DOM object to transfer over HTTP, but when it gets to the other end, it is deserialized and becomes a DOM node again. Naturaly, I don't trust that DOM is valid so I want to parse it using my schema. Does anyone know how to do this?
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
Why not write it to a temporary XML file and parse the file?

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Parsing a DOM object
Similar Threads
Is there a java API to generate xml with an inline schema definition
Parsing Schema using JDOM
Schema parsing using JDOM
convert javaobjects to xml and xml to java objects dynamically
Help !! Parsing Schema