Please note that using a a parser

Please note that using a a parser like Xerces is not acceptable. You can either describe the algorithm, write pseudo code or optionally implement the solution.

Describe how to implement a simple parser that does well-formedness checking on XML, such as the following: 

<BackgroundCheck 

        <CriminalHistory 

                <HistoryCodex</HistoryCode 

                <HistoryCodey</HistoryCode 

                <HistoryCodez</HistoryCode 

        </CriminalHistory 

</BackgroundCheck

 
Powered by