Document Information

1.  Introduction to JAXP

2.  Simple API for XML

3.  Document Object Model

4.  Extensible Stylesheet Language Transformations

5.  Streaming API for XML

 
Java API for XML Processing (JAXP) Tutorial

Preface

The Java API for XML Processing (JAXP) Tutorial provides an introduction to Java API for XML Processing (JAXP) 1.4 technology, via examples of JAXP applications.

Before You Read This Book

To make full use of the information in the Java API for XML Processing (JAXP) Tutorial , you should have knowledge of the following technology:

  • The Java programming language and its development environment.

  • The eXtensible Mark-up Language (XML).

  • The Document Object Model (DOM), as defined by World Wide Web Consortium (W3C) DOM Working Group.

  • Simple API for XML (SAX), as developed cooperatively by the members of the XML-DEV mailing list.

Some prior knowledge of DOM and SAX is assumed. Only code that is specific to the JAXP API is examined in detail in this guide. See "Related Documentation" on page 5 for links to documentation for DOM and SAX.

How This Book Is Organized

This document describes the JAXP code samples in the following chapters:

Related Third-Party Web Site References

Third-party URLs are referenced in this document and provide additional, related information.


Note - Sun is not responsible for the availability of third-party web sites mentioned in this document. Sun does not endorse and is not responsible or liable for any content, advertising, products, or other materials that are available on or through such sites or resources. Sun will not be responsible or liable for any actual or alleged damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods, or services that are available on or through such sites or resources.


Documentation, Support, and Training

The Sun web site provides information about the following additional resources:

Typographic Conventions

The following table describes the typographic conventions that are used in this book.

Table P-1 Typographic Conventions

Typeface

Meaning

Example

AaBbCc123

The names of commands, files, and directories, and onscreen computer output

Edit your .login file.

Use ls -a to list all files.

machine_name% you have mail.

AaBbCc123

What you type, contrasted with onscreen computer output

machine_name% su

Password:

aabbcc123

Placeholder: replace with a real name or value

The command to remove a file is rm filename.

AaBbCc123

Book titles, new terms, and terms to be emphasized

Read Chapter 6 in the User's Guide.

A cache is a copy that is stored locally.

Do not save the file.

Note: Some emphasized items appear bold online.

Shell Prompts in Command Examples

The following table shows the default UNIX® system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell.

Table P-2 Shell Prompts

Shell

Prompt

C shell

machine_name%

C shell for superuser

machine_name#

Bourne shell and Korn shell

$

Bourne shell and Korn shell for superuser

#

Company Info Contact Terms of Use Privacy Copyright 1994-2008 Sun Microsystems, Inc.