IntelliJ Java IDE
The moose likes XML and Related Technologies and the fly likes XML Schema question - Please help Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "XML Schema question - Please help" Watch "XML Schema question - Please help" New topic
Author

XML Schema question - Please help

Ambrose Tati
Ranch Hand

Joined: Oct 03, 2000
Posts: 55
Dear all,
My small java application successfully validates an XML instance against an XML document using
org.jdom.adapters.XercesDOMAdapter.getDocument() method. The document returned by this method is an .
I would like to retrieve information from the DOM tree using Jdom classes. I thought I'd cast org.w3c.dom.Document to
org.jdom.Document and take from there. Can somebody tell me why this does not work and what's the best way to go about it?
Many thanks.
Ambrose Tati
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5781
See this thread - http://www.javaranch.com/ubb/Forum31/HTML/001040.html


Open Group Certified Master IT Architect.
Sun Certified Architect(SCEA).
 
IntelliJ Java IDE
 
subject: XML Schema question - Please help
 
Threads others viewed
How to send a XML document??
how to find content length of the xml document
storing xml
Database access using Java Script
Velocity to xml and validate with xsd
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture