Skip to main content

Validate XML and/or DTD

1 reply [Last post]
bonekrusher
Offline
Joined: 2008-02-29

Hi,

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)?

Thanks,

Bones

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
joehw
Offline
Joined: 2004-12-15

Hi Bones,

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.


Thanks,

Joe