hi,i'am new to Jsp.Can some one please let me know an answer for this question?

how do we upload an xml file and validate them against WIPO DTD

View Answers

October 6, 2013 at 11:07 AM

Hi,

Please see the example for uploading a file on Server: File Upload Tutorial With Examples In JSP.

You can use the following code for validating xml against DTD:

  DocumentBuilderFactory.newInstance();
  factory.setValidating(true);

Read XML Validate DTD example to see the complete code for validating XML using DTD.

Thanks









Related Tutorials/Questions & Answers:
Advertisements