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.
Cheers,
JIC

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.
http://www-106.ibm.com/developerworks/xml/library/x-domprl/index.html?open&l=136,t=grx,p=dwp


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.
http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/541CBB035C53F2CC86256AED006DE862?open&l=136,t=grx,p=mxsl

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.
http://www-106.ibm.com/developerworks/xml/library/x-matters14.html?open&l=136,t=grx,p=m14

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.
http://www-106.ibm.com/developerworks/xml/library/x-sbsch.html?open&l=136,t=grx,p=sbox


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.
http://www.alphaworks.ibm.com/tech/xmlviewer?open&l=136,t=grx,p=xmlv

X-IT
----------
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).
http://www.alphaworks.ibm.com/tech/xit?open&l=136,t=grx,p=xmlv

Xplorer
---------
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.
http://www.alphaworks.ibm.com/tech/xplorer?open&l=136,t=grx,p=xmlv