| |
| |
This book is a collection of notes I wrote while I was learning eXtensible Markup Language (XML) and other related technologies: CSS: Cascading Style Sheet DOM: Document Object Model DTD: Document Type Definition SAX: Simple API for XML XHTML: eXtensible HTML XML: eXtensible Markup Language XQL: XML Query language XSD: XML Schema Definition XSL: eXtensible Style Language XSLT: XSL Transformation
|
|
|
| |
| |
This article is intended for the experienced PHP programmer, interested in writing applications using XML. It assumes that you are familiar with XML's syntax and advantages.
|
|
|
| |
| |
This tutorial shows how to parse XML documents in PHP. It walks you through a fairly simple application of XML that you can use to implement a news system for your home page.
|
|
|
| |
| |
The combined power of XML and XSL for representing, manipulating, and presenting data over the Web and sharing data across differing applications has been clearly demonstrated through the fast acceptance and broad usage of these technologies. Still, most developers familiar with the basics of XML and XSL are not utilizing this power fully. This article shows developers how to use extensions, a technique that allows you to expand the capabilities of XSL.
|
|
|
| |
| |
This column takes a look at how to use XLink pointers when representing data to make XML documents more compact and flexible. Sample code shows examples of an invoice with and without the XLink pointers, plus an example of using XLinks with a URL-addressable database.
|
|
|
| |
| |
Ever want to know how to bridge processing of an HTML element over two XSLT templates? Here's why not to do it. This article demonstrates how to shift your thinking into the XSLT recursive approach, which is especially helpful if you have a background in a procedural language (Java and the like). Sample code demonstrates the right way (and the wrong way) to work with a flat XML or XHTML file that you want to process hierarchically.
|
|
|
| |
| |
XML data binding for Java is a powerful alternative to XML document models for applications concerned mainly with the data content of documents. This article by an enterprise Java expert introduces data binding and discusses what makes it so appealing. He then shows readers how to handle increasingly complex documents using the open source Castor framework for Java data binding. If your application cares more about XML as data than as documents, you'll want to find out about this easy and efficient way of handling XML in Java.
|
|
|
| |
| |
Based on an analysis of several large XML projects, this article examines how to make effective and efficient use of DOM in Java. The DOM offers a flexible and powerful means for creating, processing, and manipulating XML documents, but it can be awkward to use and can lead to brittle and buggy code. Author Parand Tony Daruger provides a set of Java usage patterns and a library of functions to make DOM robust and easy to use.
|
|
|
| |
| |
This article demonstrates how to automate e-mail publishing chores with Java and XML. This concrete application of XML and XSLT describes an e-mail newsletter (e-zine) publishing application that outputs both HTML and plain text e-mail messages. Five reusable code samples include a Java program to send e-mails using JavaMail, an XSLT style sheet to convert the DocBook sample introduced in Part 1 to HTML, a Java configuration handler (in the form of a SAX ContentHandler), and the Java code that puts it all together in a multistepped transformation.
|
|
|
| |
| |
This article describes the design and implementation of an intuitive, fast and compact (40K) Java toolkit for parsing and manipulating XML -- Electric XML -- the XML engine of the author's company. It shows one way to apply object-oriented techniques to the creation of an XML parser, and it provides useful insight into API design. The source code for the non-validating parser described in this article may be downloaded and used freely for most commercial uses.
|
|
|
| |
|