OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xml-dev] Better DOM with Perl - IBM article

Here's a new IBM developerWorks article and some other stuff.  New
alphaWorks technologies at the bottom.

Effective XML processing with DOM and XPath in Perl
Based on an analysis of several large XML projects, this article examines
how to make effective and efficient use of DOM. Developer/author Tony
Daruger provides a set of usage patterns and a library of functions to make
DOM robust and easy to use. Though the DOM offers a flexible and powerful
means for creating, processing, and manipulating XML documents, some
aspects of DOM make it awkward to use and can lead to brittle and buggy
code. This article suggests ways to avoid the pitfalls. Perl code samples
demonstrate the techniques.

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.

XML Matters : Transcending the limits of DOM, SAX, and XSLT
Consider Haskell in lieu of DOM, SAX, or XSLT for processing XML data. The
library HaXml creates representations of XML documents as native recursive
data structures in the functional language Haskell. HaXml brings with it a
set of powerful higher order functions for operating on these "datafied"
XML documents. Many of the HaXml techniques are far more elegant, compact,
and powerful than the ones found in familiar techniques like DOM, SAX, or
XSLT. Code samples demonstrate the techniques.

Soapbox: Why XML Schema beats DTDs hands-down for data
In his turn on the Soapbox, info-management developer and author Kevin
Williams tells why he's sold on XML Schema for the structural definition of
XML documents for data. He looks at four features of XML Schema that are
particularly suited to data representation, and he shows some examples of
each. Code samples include XSD schemas and schema fragments.

XML Viewer
The XML Viewer addresses the need for viewing XML data from various
perspectives such as the source of the XML, the DTD for the XML, the
hierarchical structure of the XML data.

It is a batch processing application for XML files, which processes them in
an interactive or in a non-interactive mode based on the specified
operation (sorting, validating against a new DTD, deleting some nodes etc).

Xplorer is a Java application that can be used to search XML files,
validate XML files and view the valid XML files in XML viewer.