XML Tutorials
Understanding
DOM
Even before there was XML, there was the Document Object Model (DOM).
The DOM allows a developer to refer to, retrieve, and change items within
an XML structure, and is essential to working with XML. In this tutorial,
you will learn about the structure of a DOM document. You will also
learn how to use Java to create a document from an XML file, make changes
to it, and retrieve the output. (2001 Aug. 31)
Understanding
SAX
This tutorial examines the use of the Simple API for XML version 2.0,
or SAX 2.0. It is aimed at developers who have an understanding of XML
and wish to learn this lightweight, event-based API for working with
XML data. It assumes that you are familiar with concepts such as well-formedness
and the tag-like nature of an XML document. In this tutorial, you will
learn how to use SAX to retrieve, manipulate, and output XML data. (2001
Sept. 05)
Validating
XML
This tutorial examines the validation of XML documents using either
Document Type Definitions (DTDs) or XML Schema. It is aimed at developers
who have a need to control the types and content of the data in their
XML documents. (2001 Sept. 25)
Create
multi-purpose Web content with XSLT
As more and more devices become Web enabled, it is crucial that your
content be available in multiple forms, such as traditional Web pages,
mobile phones or other small devices, or Web services. This tutorial
shows you how to set up a Java servlet that detects the type of display
that is necessary and automatically produces appropriate markup for
the content that uses XSLT. (2003 March 18)
Using
JDBC to insert data from XML into a database
This tutorial is designed to assist Java developers who need to extract
information from an XML document and enter it into a database. (2001
Oct. 03)
Using
JDBC to extract data into XML
This tutorial is designed to assist Java developers who need to extract
information from a database and place it into an XML document. (2001
Sept. 28)
Understanding
XForms
Today's Web applications require sophisticated control over a form's
presentation and over the data that is ultimately submitted. XForms,
currently at the level of Candidate Recommendation status at the W3C,
aims to satisfy those needs, including separating functionality from
presentation and streamlining validation and events processing. (2002
Dec. 23)
Install
and configure Xalan-Java
This new tutorial by author Nicholas Chase tells step-by-step how to
install, configure, and test the Xalan-Java XSL Transformation processor.
Installing Xalan-J involves preparing the environment by obtaining an
appropriate Java Virtual Machine, setting environment variables, and
installing the files. After installation, you can set other environment
variables, such as CLASSPATH. (2002 Nov. 26)
Install
and configure the Xerces2 Java parser
The first step in working with XML is parsing the data into a workable
form. This tutorial guides you through the steps necessary to install
and configure the Xerces2 Java parser. (2002 Nov. 20)
XML
Schema validation in Xerces-Java 2
XML Schema provides validation capabilities that weren't available with
Document Type Definitions. Xerces-Java 2.0 provides virtually complete
support for the W3C's XML Schemas, and beyond. This tutorial guides
you through the process of using schema validation with Xerces-Java
2.0. (2002 July 16)
Manipulating
data with XSL
This tutorial explains the basics of retrieving data from a database
into a DOM document, transforming the DOM document into a second document,
and inserting the data from the second document into the database using
updatable ResultSets in Java. (Though the examples are all written in
Java, the concepts are the same in any programming language and the
tutorial can assist any developer who wants to learn how to manipulate
data with XSLT.) Several of the more advanced features of XSLT and XPath
are covered, demonstrating some of the ways that XSLT style sheets can
be used to emulate the programming capabilities of database stored procedures.
(2001 Oct. 24)
Modularization
of XHTML
This tutorial is designed for users who need to understand the modularization
of XHTML, either to use a subset of XHTML, or to add their own tags
to create their own markup language variants. (2001 Oct. 23)
Developing
XSL Transformations with WebSphere Studio
This tutorial shows you how to use the Site Developer configuration
of WebSphere Studio to map the elements and attributes of one XML structure
to the elements and attributes of another, then convert that mapping
to an XSLT style sheet. The tutorial will demonstrate how to use an
XSL Trace facility to watch the actual progress of the transformation
and locate errors. This tutorial will also cover how to add XSLT functions,
external JavaScript functions, and Java classes to the style sheet.
(2002 April 17)
Manipulating
XML and SQL data with WebSphere Studio
This tutorial covers the basics of XML development with WebSphere Studio
Site Developer, including how to create and edit new XML files, how
to generate DTDs or XML Schemas from an existing XML file, and how to
generate an XML file from an existing DTD or schema. The tutorial also
looks at the relationship between XML and databases by examining Site
Developer's applicable features in this area, including its ability
to generate XML files from SQL statements and create mappings of XML
data to a relational database structure for use by other applications
such as application servers. (2002 April 10)
Introduction
to Scalable Vector Graphics
Scalable Vector Graphics (SVG) makes it possible to specify, using text,
graphical images that appear on a Web page. The advantages are many,
including the ability to easily generate graphics (such as graphs and
charts) from database information, and the ability to add animation
and interactivity to graphics. This tutorial demonstrates the concepts
necessary for building SVG documents, such as basic shapes, paths, text,
and painting models, and also animation and scripting. (2002 Feb. 20)
Process
XML using XML Query
For years developers have been using SQL to retrieve data from structured
sources such as relational databases. But what about unstructured and
semi-structured sources, such as XML data? To be viable as a data source,
XML needed a means for conveniently retrieving the data. XQuery provides
this means, allowing developers to write a statement that both extracts
data and (if necessary) structures the results as XML. This tutorial
shows you how to use XQuery to retrieve information from an XML file.
It also explains the ways in which XPath changes with version 2.0, and
what those changes mean for data management. (2002 Sept. 24)
Web Services Tutorials
Introduction
to ebXML
Whereas EDI for years has provided a usable but expensive way for companies
to exchange information in an automated manner, ebXML now provides a
means for companies to integrate their processes much more easily. Based
on XML, it provides a methodology for business to determine what information
they should exchange and how, as well as a set of specifications to
allow automation of the process. This tutorial gives an overview of
ebXML, explaining how all of the pieces fit together. (2002 June 11)
Building
Web service applications with the Google API
The Google search engine can now be accessed via a SOAP-based Web service.
This means that developers can now embed Google search results and other
information into their own applications. Google also took this project
one step further, creating an API and Java toolkit for accessing the
data. This tutorial is for developers who want to use Google information
from within their Java applications. (2002 May 21)
Building
an Amazon storefront using SOAP and the WSDK
This tutorial is for developers who want to use SOAP to access the Amazon
product database through Amazon Web Services (AWS). It shows you how
to use the IBM WebSphere SDK for Web Services (WSDK) to create Java
classes from the Amazon Web Services Description Language (WSDL) file,
demonstrates the use of those classes, and then examines the process
of using the WSDK to turn the classes into a Web application and Amazon
storefront. (2002 Nov. 01)
Integrating
applications with Web services using WebSphere
The Site Developer configuration of WebSphere Studio and WebSphere Application
Server ease the pain of integrating Web services with your application.
This tutorial looks at making your application Web services-ready using
Site Developer's tools. It takes you through the process of wrapping
an existing application as a Web service, announcing it using a UDDI
directory, and discovering and using Web services within your applications.
It also looks at how to deploy your application to a WebSphere Application
Server. (2002 June 19)
Integrating
applications with Web services using WebSphere Studio V5
This tutorial shows you how to make your application Web-services ready
using the tools in WebSphere Studio Application Developer Version 5.
You will learn how to wrap an existing application as a Web service
and announce it using a UDDI directory and to discover and use Web services
within your applications. The tutorial also explains how to deploy your
application to a WebSphere Application Server. (2003 Feb. 06)
Making
of MetroSphere, Part 5: Installing WebSphere Portal Express
The first step in the MetroSphere project is getting the software installed
so we can start working with it. This tutorial explains the necessary
hardware and software prerequisites for installing WebSphere Portal
- Express, and then explains the information necessary for a Quick Install
and describes how that process should work. It also looks at some of
the additional information necessary for a Standard Install. (2003 Feb.
24)
Building
database applications with WebSphere and DB2
One common use for Web services is the enabling of remote access to
DB2 database information. Using parts of a simple commodity trading
system, this tutorial teaches you how to select from, insert into, and
update a DB2 database from WebSphere Studio and from a Java application.
You will then convert this application to a Web service with the help
of WebSphere Studio. The tutorial also discusses DB2 user-defined functions
and stored procedures. (2002 Sept. 05)