Thanks June for the reply.
Another question on that :
In my XML documents, I will not be having schemaLocation attribute, so I want to load the schema file on the parser so that it validates the document against the schema it is loaded with whenever it parses the XML document.
I am able to find a way of loading schema grammar in XalanParserLiasion (like Xerces has loadGrammar feature).
If anyone is aware of how to load schema grammar in Xalan parser, I will appreicate the response.
Thanks
KR.
June Ng <[EMAIL PROTECTED]> wrote:
June Ng <[EMAIL PROTECTED]> wrote:
Yes, I believe the setUseValidation() member function in the XMLParserLiaison class is for this purpose.
June K. Ng
XSLT Development
IBM Toronto Laboratory
kamal Rometra <[EMAIL PROTECTED]> 03/18/2005 06:37 PM
Please respond to
xalan-c-users
To[email protected] cc SubjectXML Schema validation with Xalan
Hi,
Does Xalan provide any APIs/ wrappers on Xerces to do XML schema validation ?
My reuirement is I have a XML schema file and I want to validate that XML document statisfies the schema and then run some XPATH _expression_ on the XML doc.
Thanks
KR.
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
