The user wants to load an xml document, i have to validate that the structure is

The user wants to load an xml document, i have to validate that the structure is correct, How to validate an XML is correct?

Example (Wrong xml, needed to / and name-->Name):
<Document>
<name>Viloria Leon</Name>
<Fecha>15/10/1975<Fecha>
</Document>

Regards,
Gustavo...

OriginalPostID-105407

OriginalPostID-105407

  Discussion posts and replies are publicly visible