This post is about validation of XML content or node, using XSD (XML Schema Definition) language in java language. if you have xml you can write logic to in xsd class in which you can write your logic: what are the node name, what type of data, how much occurrence of node , with what type of value etc.
Continue reading SAX Parser : Schema Validator in Java
You know , reading from memory and reading from disk , which one is faster. I think, everyone says memory will be faster. And you know Tree data structure is faster. So, DOM is inspired from inMemory loading and Tree datastructure.
Continue reading Difference Between DOM and SAX parser in java