jQuery in Action, 3rd edition
The moose likes XML and Related Technologies and the fly likes Parsing XML agaist XSD using - (Want to remove the physical path of xsd from xml) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Parsing XML agaist XSD using - (Want to remove the physical path of xsd from xml)" Watch "Parsing XML agaist XSD using - (Want to remove the physical path of xsd from xml)" New topic
Author

Parsing XML agaist XSD using - (Want to remove the physical path of xsd from xml)

prash patil
Ranch Hand

Joined: May 26, 2008
Posts: 40
Hello All,
I am validating one XML against XSD.
Where in I have to give XSD location in the XML
But in my case the XML is going to come from client and so cannot have physical path of XSD..

I am using org.xml.sax.XMLReader; for validating the XML

The code is as follows.
In XML file i have to hardcode the
Which i Want to Remove..

If any one have any suggestion please REPLY.
Thanks in Advance



NotificationServiceSchema.xsd


validationOfXmlAgainstXSD.xml
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Parsing XML agaist XSD using - (Want to remove the physical path of xsd from xml)
 
It's not a secret anymore!