Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parsing a DOM object

 
Alan Flanders
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Alan
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not write it to a temporary XML file and parse the file?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic