 | Level: Intermediate Mark Lorenz (mlorenz@nc.rr.com), Senior Application Architect, Hatteras Software, Inc.
26 Sep 2006 Parsing and validation represent the core of XML. Knowing how to use these capabilities well is vital to the successful introduction of XML to your project. This tutorial on XML processing teaches you how to parse and validate XML files as well as use XQuery. It is the third tutorial in a series of five tutorials that you can use to help prepare for the IBM certification Test 142, XML and Related Technologies.
In this tutorial
This series of five tutorials helps you prepare to take the IBM certification Test 142, XML and Related Technologies, to attain the IBM Certified Solution Developer - XML and Related Technologies certification. This certification identifies an intermediate-level developer who designs and implements applications that make use of XML and related technologies such as XML Schema, Extensible Stylesheet Language Transformation (XSLT), and XPath. This developer has a strong understanding of XML fundamentals; has knowledge of XML concepts and related technologies; understands how data relates to XML, in particular with issues associated with information modeling, XML processing, XML rendering, and Web services; has a thorough knowledge of core XML-related World Wide Web Consortium (W3C) recommendations; and is familiar with well-known, best practices. Anyone working in software development for the last few years is aware that XML provides cross-platform capabilities for data, just as the Java™ programming language does for application logic. This series of tutorials is for anyone who wants to go beyond the basics of using XML technologies. This tutorial is the third in the "XML and Related Technologies certification prep" series that takes you through the key aspects of effectively using XML technologies on Java projects. This third tutorial focuses on XML processing -- that is, how to parse and validate XML documents. It lays the groundwork for Part 4, which focuses on transformation, including the use of XSLT, XPath, and Cascading Style Sheets (CSS).
Objectives - Parse XML documents using the Simple API for XML 2 (SAX2) and Document Object Model 2 (DOM2) parsers
- Validate XML documents against Document Type Definitions (DTDs) and XML Schemas
- Access XML content from databases using XQuery
Prerequisites
This tutorial is written for Java programmers who have a basic understanding of XML and whose skills and experience are at a beginning to intermediate level. You should have a general familiarity with defining, validating, and reading XML documents and a working knowledge of the Java language.
System requirements
You will need JavaScript enabled in your browser. To run the examples in this tutorial, you need a Linux® or Microsoft® Windows® box with at least 50MB of free disk space and administrative access to install software. The tutorial uses, but does not require, the following software:
Duration
2 hours
Formats html, pdf
|  | |  |