validating XML against an XSD string

J

JavaProgrammer

I'm using the 'SAXParser' class to validate an XML file against an XSD file.
To specify the full path and name of the XSD file, I use the 'setProperty()'
method. What I need to find out is how to specify the XSD as an XML String
(the String is generated at run-time, and I want to avoid creating a file on
the server). Is this possible?


----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web -----
http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
NewsOne.Net prohibits users from posting spam. If this or other posts
made through NewsOne.Net violate posting guidelines, email (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top