in reply to How to parse the XML file as per different schema

Do you want to validate the same XML file against different schemas??? Please elaborate exactly what you are trying to do. If possible add an example. To me it seems every validating parser can be used.

  • Comment on Re: How to parse the XML file as per different schema

Replies are listed 'Best First'.
Re^2: How to parse the XML file as per different schema
by denzil_cactus (Sexton) on Oct 31, 2008 at 02:11 UTC
    Well I would need to parse different XML files with quite a bit different schemas like
    xml 1
    <student>
    <name>denz</name>
    <section>B</section>
    <subject>CHEM</subject>
    </student>
    xml 2
    <student>
    <name>denz</name>
    <marks>40</marks>
    <university>LONDON</university>
    </student>
    so now I want to use one unique program which should parse
    any file with a different schema. Can we do this?