I am new to Java and want to try using JAXP to validate XML (or a DTD). Can some one set up me with an easy tutorial (or code snippet)?
JAXP used to be a J2EE component. There were several chapters (e.g. Chapter 2, 4, 5 and 6) in J2EE 1.4 Tutorials regarding the JAXP technologies. Those are still good materials to get started understanding JAXP. Since then, JAXP has become a part of J2SE and we're still working out on maybe a separate tutorial.
You may then check out the JAXP sources and take a look at the samples.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.