Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Product and Other Certifications and the fly likes interview question on validation .. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "interview question on validation .." Watch "interview question on validation .." New topic

interview question on validation ..

mallika shah
Ranch Hand

Joined: May 11, 2006
Posts: 164
Hello friends,

I was asked in an interview about validation of XML documents.How do you validate an XML document???
Can someone please help me answering this question.

Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
There are many different methods of validating XML-based documents. Depends upon which technologies are being used, e.g. Perl, C#, Java, etc.

However, there usually is a "Validate" button on the bottom of the screen. All you need to do is click on this button and everything is validated.
Vinod Tiwari
Ranch Hand

Joined: Feb 06, 2008
Posts: 466

XML documents are validated against the XSD or DTD defined.

I agree. Here's the link:
subject: interview question on validation ..
It's not a secret anymore!