Displaying posts published in

July 2002

Tip: Include external information with general entities

Now on IBM developerWorks: Tip: Include external information with general entities — General entities enable XML authors to conveniently include not only characters that would be difficult to represent directly, but also information that must be repeated. They also enable you to import information from another file, as well as from another location. This tip [...]

XML Schema validation in Xerces-Java 2

Now on IBM developerWorks: XML Schema validation in Xerces-Java 2 (Tutorial) — 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.

Tip: Customize a DTD with parameter entities

Now on IBM developerWorks: Tip: Customize a DTD with parameter entities — Creating a Document Type Definition (DTD) and using it to validate your document is a good way to ensure that the data fits a particular structure. In some cases, however, you want to give users some control over the structure. Parameter entities enable [...]

JavaScript and the Document Object Model

Now on developerWorks: JavaScript and the Document Object Model: While the Document Object Model (DOM) is perhaps best known in its role as a foundation for working with XML, variations on the theme actually started in browsers with HTML. Now DOM has come full circle as newer browsers implement the W3C Document Object Model through [...]

Tip: XSL transformations to and from a SAX stream

Now on IBM developerWorks: Tip: XSL transformations to and from a SAX stream — The Transformation API for XML (TrAX) simplifies the process of performing XSL transformations by creating a situation where you only need to create the source, style, and result objects, then manipulate them using a Transformer object. When sources and results are [...]