 |
 |
 |
 |
 |
 |
New to XML
Need help getting started with XML? The XML zone on developerWorks contains articles, tutorials, and tips to help developers with XML-based development. For users trying to find their way in a new topic, all of that information can be overwhelming. This page provides an overview for readers who want to learn about XML, but don't know where to start. This page helps you get organized and on your way -- whether you want to understand what XML is all about, explore Ajax, mashups or RSS, or prepare for XML certification.
|
 |
|
 |
19 Nov 2009 |
|
| |
Training
Start here to find the tutorials, courses, and certification guides you need to stay up-to-date with XML technology and to keep your skills top notch.
|
 |
|
 |
19 Nov 2009 |
|
| |
Index of XML standards
The world of XML is vast and growing, with a huge variety of standards and technologies that interact in complex ways. It can be difficult for beginners to navigate the most important aspects of XML, and for users to keep track of new entries and changes in the space. XML is a basic syntax upon which you develop local and global vocabularies. This index provides a detailed cross-reference of many XML standards, including links to additional coverage for each.
|
 |
|
 |
19 Nov 2009 |
|
| |
Top ten XML articles and tutorials - January 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
14 Mar 2007 |
|
| |
Top ten XML articles and tutorials - August 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
13 Sep 2007 |
|
| |
Point-and-click XForms design
This 12-minute video illustrates the order of magnitude simplification that XForms can offer to the development of applications that interact with users to collect the XML data that drives back-end business processes.
|
 |
|
 |
14 Aug 2007 |
|
| |
Top ten XML articles and tutorials - July 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
17 Jul 2007 |
|
| |
Top ten XML articles and tutorials - June 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
12 Jun 2007 |
|
| |
Top ten XML articles and tutorials - May 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
12 Jun 2007 |
|
| |
Top ten XML articles and tutorials - April 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
04 May 2007 |
|
| |
Top ten XML articles and tutorials - March 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
11 Apr 2007 |
|
| |
Top ten XML articles and tutorials - February 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
14 Mar 2007 |
|
| |
Top ten XML articles and tutorials - September 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
12 Oct 2007 |
|
| |
Top ten XML articles and tutorials - March 2008
See what XML content your peers found most valuable last
month
|
 |
|
 |
07 Mar 2008 |
|
| |
Top ten XML articles and tutorials - January 2008
See what XML content your peers found most valuable last
month
|
 |
|
 |
07 Mar 2008 |
|
| |
Top ten XML articles and tutorials - December 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
07 Jan 2008 |
|
| |
Top ten XML articles and tutorials - November 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
11 Dec 2007 |
|
| |
Top ten XML articles and tutorials - October 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
08 Nov 2007 |
|
| |
From DAD to annotated XML schema decomposition
The annotated XML schema decomposition in DB2 Viper allows you to decompose XML documents into relational tables much more efficiently than the XML Extender. Learn about annotated XML schema decomposition, then follow the steps required to migrate from the XML Extender. Includes a tool to help you migrate.
|
 |
Articles |
 |
13 Apr 2006 |
|
| |
Using DB2 XQuery to extract data mining results stored as PMML
Data mining is the process of finding rules and patterns in structured
data. DB2(R) data mining uses Intelligent Miner, which is part of
InfoSphere(R)
Warehouse. Intelligent Miner(R) stores those results in Predictive Model
Markup Language (PMML) format, which is based on XML.
Since the launch of DB2
9, information stored in XML can be processed efficiently using XQuery. Find
out how easily you can use DB2 XQuery to create your own access methods based on your data
mining results.
|
 |
Articles |
 |
21 May 2009 |
|
| |
Build a pureXML application in DB2 for z/OS, Part
1: Use COBOL stored procedures to store and manipulate data
In this article, set up and populate a small XML database, and implement
COBOL stored procedures for basic operations on the data. Use the included
download bundle with ready-to-install samples to explore the concepts of this
article, and apply the concepts to other industry or custom XML formats. The
XML documents that conform to the UBL (Universal Business Language) format
from OASIS are stored and manipulated in the samples.
|
 |
Articles |
 |
14 May 2009 |
|
| |
Authoring with the developerWorks Word and Writer templates
Welcome, authors! This article shows you how to prepare English-language
technical articles and tutorials for publication on the worldwide
developerWorks site using Microsoft Word or OpenOffice.org Writer. The steps
are simple. You download our template package for either Word or Writer, fill
in the fields in the template, and then compose your article or tutorial
according to the guidelines in the template. Tips for composing your content
and submitting it to the developerWorks staff are also included in this
article.
|
 |
Articles |
 |
21 Mar 2009 |
|
| |
Use XML in DB2 SQL stored procedures
SELECT, INSERT, UPDATE and DELETE statements can all use the new IBM DB2 9 SQL/XML functions, which can be run in several different environments. The DB2 command line processor, third-party query tools, and SQL stored procedures are all compatible environments. Stored procedures add the ability to incorporate procedural logic constructs such as variables, IF/THEN/ELSE logic, looping, cursors and error trapping. Explore the interaction of XML data with procedural logic in this article. The short code examples and explanations provided will save you precious time on the road to becoming proficient with XML in SQL stored procedures.
|
 |
Articles |
 |
18 Jan 2007 |
|
| |
Add IBM OmniFind Yahoo! Edition to your Web site
Learn how you can quickly and easily integrate a freely downloadable search engine into your
Web site. This article describes four methods to do this, using IBM OmniFind Yahoo! Edition
search functionality. The methods range from directly linking to the OmniFind
search results page, to using XSLT to transform the XML returned by the OmniFind search API into the
HTML of your design.
|
 |
Articles |
 |
13 Dec 2006 |
|
| |
A performance comparison of DB2 9 pureXML and CLOB or shredded XML storage
Like other databases,
the DB2 V8 XML Extender offers two storage and access models for XML: XML documents
can be stored intact as unparsed text in CLOB columns, or they can be mapped and
shredded to a set of relational tables. Both options have known performance
limitations. The new pureXML technology in DB2 9 seeks to overcome these limitations
by storing and querying XML in its inherent hierarchical format. This article
describes a series of measurements to characterize the cases in which pureXML does or
doesn't provide a performance benefit, and to quantify the performance difference to
CLOB or shredded storage.
|
 |
Articles |
 |
07 Dec 2006 |
|
| |
XML data validation using IBM DB2 Visual Studio 2005 .Net Add-in
Use .Net to build applications that use DB2's XML technology, which allows XML to be stored, validated, and queried in its hierarchical format.
|
 |
Articles |
 |
30 Nov 2006 |
|
| |
Query XML data that contains namespaces
The widespread use of namespaces in XML messages and documents impacts how application developers must write their queries. Unfortunately, the relationship between namespaces and popular query languages (such as SQL/XML and XQuery) is often poorly understood. This article walks you through several common scenarios to help you learn how to query XML data that contains namespaces.
|
 |
Articles |
 |
09 Nov 2006 |
|
| |
Exploit XML indexes for XML query performance in DB2 9
DB2(R) 9 provides pureXML storage and offers XQuery and
SQL/XML as query languages. XML indexes are essential for high query
performance, but their usage for query evaluation depends on how query
predicates are formulated. This article presents a set of guidelines for
writing XML queries and creating XML indexes in a consistent manner so that
indexes speed up your queries as expected. Also learn what to look for in XML
query execution plans to detect performance issues, and find out how to fix
them. A downloadable "cheat sheet" summarizes the most important guidelines.
This article has been updated for DB2 9.5 and 9.7. [2009 Jul 30: This article has been updated for DB2 9.5 and 9.7, including
additional SQL/XML sample queries.--Ed.]
|
 |
Articles |
 |
29 Jul 2009 |
|
| |
15 best practices for pureXML performance in DB2
DB2 9 introduces pureXML
support, which means that XML data is stored and queried in its inherent hierarchical format.
To query XML data, DB2 offers two languages, SQL/XML and XQuery. Additionally,
DB2 9 has sophisticated XML indexing capabilities and support for XML Schema
validation. While most existing performance guidelines for DB2 also apply to
XML data, this article provides additional XML-specific performance tips. This article has been updated for DB2 9.5. [2009 May 26: Corrected code in Listings 12 and 13.--Ed.]
|
 |
Articles |
 |
26 May 2009 |
|
| |
XML data solutions with xfy and DB2 9, Part 1: Use pureXML to get the full value of your data
This article introduces xfy Enterprise Solution from Justsystems, an XML application platform. It enables you to develop applications for IBM DB2 9 for Linux, UNIX, and Windows that fully take advantage of DB2's pureXML capabilities.
|
 |
Articles |
 |
07 Sep 2006 |
|
| |
SQL and XQuery tutorial for IBM DB2, appendix: Appendix A
Appendix A describes all of the tables in the Aroma database, which consists of two schemas: a simple star schema for retail sales information and a multistar schema for purchasing information.
|
 |
Articles |
 |
31 Aug 2006 |
|
| |
pureXML in DB2 9: Which way to query your XML data?
DB2 9 introduces pureXML support, which means that XML data is stored and queried in its inherent hierarchical format. To query XML data, DB2 offers two languages, SQL/XML and XQuery. You can use XQuery and SQL separately, but you can also use XQuery embedded in SQL and vice versa. This gives you a lot of flexibility and options for querying your XML data. Each of these options is useful under certain circumstances. In this article we describe these options, their respective advantages and disadvantages, and guidelines for choosing the right one for your needs.
|
 |
Articles |
 |
28 Aug 2007 |
|
| |
XML application migration from DB2 8.x to DB2 Viper, Part 2: Compare XML functionality in DB2 Viper to XML functionality in DB2 V8.x
Look at the XML functionality in DB2 Viper and compare it to that of DB2 V8.x. This article discusses the new XML features introduced in DB2 Viper, and goes into the details regarding the impact the new XML support has on migrating existing XML-based applications. This is the second of a three-article series on migrating your XML applications from DB2 UDB V8.x to DB2 Viper.
|
 |
Articles |
 |
24 May 2006 |
|
| |
XML application migration from DB2 8.x to DB2 Viper, Part 1: Partial updates to XML documents in DB2 Viper
The first of a three-article series on migrating your XML applications from DB2 UDB V8.x to DB2 Viper, this article describes a method for performing partial updates to XML documents stored natively in DB2 Viper, using a stored procedure that's included as a download.
|
 |
Articles |
 |
11 May 2006 |
|
| |
XML Security: Manage identities more effectively with SPML
Gain a basic understanding of what Service Provisioning Markup Language (SPML) is and how it works. After an explanation of SPML's role in the management of the identity lifecycle, this article guides you through an actual working SPML scenario, using OpenSPML. Along the way, the author explains the architecture and design of SPML. Ultimately, you learn to appreciate the usefulness of this technology, and are equipped to participate in the implementation of the standard.
|
 |
Articles |
 |
05 Jan 2005 |
|
| |
Working XML: Wrestling with Java NIO
This column takes the XI project to the next step. Here, Benoît reports his findings with the new Java technology APIs -- in particular, the regular expression engine and the New I/O (also known as NIO). Although the XI is not yet operational, you get a glimpse of what it will look like soon.
|
 |
Articles |
 |
01 Jun 2002 |
|
| |
Tip: Namespaces and versioning
You can use several techniques for versioning XML schemas, such as defining special root attributes or using the DTD. This tip discusses how to use XML namespaces to version formats.
|
 |
Articles |
 |
01 Jun 2002 |
|
| |
Thinking XML: XML meets semantics, Part 4
The success of XML as a basic data format is unquestioned. But much of the promise that accompanied XML 1.0 -- from unifying the ways businesses communicate with each other to making the Web more intelligent -- has not been attained. Using XML for shared semantics and thus shared knowledge is the theme of this column. In this installment, Mr. Ogbuji considers the progress to date along these lines in the context of recent developments from the Open Applications Group and the United States Department of Defense (DoD).
|
 |
Articles |
 |
01 Jun 2002 |
|
| |
Tip: Using pull-based DOMs
XML application developers usually have to contend with the complexities of SAX or the inefficiencies of DOM. This tip shows how a pull approach to DOM can effectively bridge the gap between the two by offering simple, efficient parsing.
|
 |
Articles |
 |
01 May 2002 |
|
| |
Jabber
In this article, Gerhard Poul shows how XML-based Jabber fits into today's e-business infrastructure, lighting instant messaging in a whole new way. You'll see that you can use Jabber to integrate your existing e-business into a more dynamic and personal environment. Your e-business site will be able to communicate with its users faster and integrate itself into their lives -- and you'll have fun learning and playing with what Jabber offers.
|
 |
Articles |
 |
01 May 2002 |
|
| |
Tip: Counting with node sets
Many common XSLT tasks, including simple loops, can be made easier by using special properties of node set operations. This tip discusses using node sets for simple and efficient loop control.
|
 |
Articles |
 |
01 May 2002 |
|
| |
XML for Data: XSL style sheets: push or pull?
Columnist Kevin Williams examines the two most common authoring styles used to create XSL style sheets: push and pull. He takes a look at some simple XML and XSL examples and discusses the benefits and drawbacks of each approach.
|
 |
Articles |
 |
01 May 2002 |
|
| |
Tip: Outputting HTML from an XSL style sheet
This tip discusses the differences between HTML and XML, and explains how to use XSLT's output element to resolve the issues they create.
|
 |
Articles |
 |
01 May 2002 |
|
| |
Specializing domains in DITA
In current approaches, DTDs are static. As a result, DTD designers try to cover every contingency and, when this effort fails, users have to force their information to fit existing types. The Darwin Information Typing Architecture (DITA) changes this situation by giving information architects and developers the power to extend a base DTD to cover their domains. This article shows you how to leverage the extensible DITA DTD to describe new domains of information.
|
 |
Articles |
 |
28 Sep 2005 |
|
| |
Tip: Set an XSL style sheet based on XML content
Using Extensible Stylesheet Language Transformations (XSLT) is often the easiest way to transform your XML data from one form into another, as it allows you a great deal of flexibility without having to change an application. On occasion, however, you may run into a snag because the style sheet to be used is based on the content of the document itself. This tip discusses two ways to base your choice of style sheet on the XML document -- the style sheet processing instruction and the data itself.
|
 |
Articles |
 |
01 May 2002 |
|
| |
XML Matters: More on XML and compression
In an earlier installment of this column, David examined techniques by which XML documents can be reversibly restructured to improve compression. For large XML documents and embedded processes, however, restructuring an entire source prior to a compression pass might be impractical. In this installment, David examines how well restructuring techniques can be adapted to block-level processing -- in terms of both compression improvements and CPU/memory requirements.
|
 |
Articles |
 |
01 Apr 2002 |
|
| |
Tip: Call JavaScript from an XSLT style sheet
XSLT style sheets allow you a great deal of freedom in manipulating the data in your original XML document. There are times, however, when you really want to do actual programming, and the XSLT recommendation is designed to allow that through the use of extensions. These extensions take the form of functions and elements and can be written in any language the processor supports. One of your options is to embed JavaScript within the style sheet, either directly or as an external file.
|
 |
Articles |
 |
01 Apr 2002 |
|
| |
Expand XSL with extensions
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.
|
 |
Articles |
 |
01 Apr 2002 |
|
| |
Tip: Creating valid XML with object-oriented programming
In this tip, David offers some techniques that programmers in object-oriented languages can use programmatically to ensure the validity of XML documents at the time of their creation.
|
 |
Articles |
 |
01 Mar 2002 |
|
| |
Exploring XML Encryption, Part 1
XML Encryption provides end-to-end security for applications that require secure exchange of structured data. XML itself is the most popular technology for structuring data, and therefore XML-based encryption is the natural way to handle complex requirements for security in data interchange applications. Here in part 1 of this two-part series, Bilal explains how XML and security are proposed to be integrated into the W3C's Working Draft for XML Encryption.
|
 |
Articles |
 |
01 Mar 2002 |
|
| |
XML Matters: The REXML library
David introduces Ruby Electric XML (REXML), a library that takes the strengths of Ruby, and builds XML processing around them.
|
 |
Articles |
 |
01 Mar 2002 |
|
| |
XML Watch: Worm's-eye BEEP
In this second article examining BEEP -- Blocks Extensible Exchange Protocol -- Edd builds on the broad principles of BEEP outlined in his previous article, explaining how the protocol is implemented, and providing an example of how it is used in Java.
|
 |
Articles |
 |
01 Mar 2002 |
|
| |
Tip: Lightweight XML libraries
In this tip, David Mertz tells you when not to use heavyweight XML.
|
 |
Articles |
 |
01 Mar 2002 |
|
| |
Working XML: Compiling the proxy
In this column, Benoit provides the front end for the Handler Compiler, HC, and encounters unexpected problems with the DFA. A stable but less than optimal solution makes it possible to release a first version of HC for further testing.
|
 |
Articles |
 |
01 Mar 2002 |
|
| |
Donald Eastlake on XML digital signatures
In this exclusive developerWorks interview, XML Digital Signatures pioneer Donald Eastlake responds to Larry Loeb's recent article on the topic by clarifying a number of issues about how this technology is used.
|
 |
Articles |
 |
01 Mar 2002 |
|
| |
XML for Data: An early look at XQuery
This column looks at the current state of the XML Query (a.k.a. XQuery) working draft. Kevin Williams shows how to use the FLWR ("flower") clauses, introduces the distinct-values function (which lends itself to pivoting data relationships), and offers his assessment of how XQuery will affect data document manipulation. Code samples in XQuery and XML demonstrate the use of for, let, where, and return (FLWR) clauses.
|
 |
Articles |
 |
01 Feb 2002 |
|
| |
XML Matters: Intro to PYX
XML is a fairly simple format. It uses plain Unicode text rather than binary encoding, and all the structures are declared with predictable-looking tags. Nonetheless, there are still enough rules in the XML grammar that a carefully debugged parser is needed to process XML documents -- and every parser imposes its own particular programming style. An alternative is to make XML even simpler. The open-source PYX format is a purely line-oriented format for representing XML documents that allows for much easier processing of XML document contents with common text tools like grep,sed, awk, wc, and the usual UNIX collection.
|
 |
Articles |
 |
01 Feb 2002 |
|
| |
Using XSL-FO to create printable documents
Need portable documents that, unlike most XML documents, include representation information? This article introduces XSL-FO (XML Stylesheet Language-Formatting Objects) and explains how it can come to the rescue. To demonstrate the advantage of using XSL-FO, the article includes an example implementation of a database reporting system that uses Java and XML code.
|
 |
Articles |
 |
01 Nov 2001 |
|
| |
Tip: The txt2dw utility
developerWorks is moving toward a custom XML dialect as the source format for the articles that appear on the site. However, writing XML is always going to be difficult for people (but easy for machines). One approach to the "human interface" problem is the public domain txt2dw utility that author David Mertz uses for his own articles.
|
 |
Articles |
 |
01 Jan 2002 |
|
| |
XML for Data: Modeling many-to-many relationships
In this column, Kevin Williams takes a look at some options for modeling many-to-many relationships in XML. Several different techniques, and the advantages and disadvantages of each, are discussed. Examples are provided in XML.
|
 |
Articles |
 |
01 Jan 2002 |
|
| |
XML Matters: More on XML in Python: 4Suite
Think of the 4Suite set of Python modules as a "connoisseur's choice" of XML tools. With their range and sophistication, 4Suite tools give a programmer both a lot of power and a steep learning curve. But for moving beyond the base XML capabilities offered by recent versions of Python, 4Suite offers useful options. Here, David takes a look at the most noteworthy aspects of 4Suite, and shows you how it can add useful capabilities to your Python/XML tool set.
|
 |
Articles |
 |
01 Jan 2002 |
|
| |
Real-world XML Schema
This article presents a set of 17 broadly applicable practices for using XML. These practices were published by the Association for Retail Technology Standards to aid its development of standardized XML messages for exchange between information technology systems that support retail stores.
|
 |
Articles |
 |
01 Jan 2002 |
|
| |
Thinking XML: Once again round the block
Once again, this column takes a break to look at what's new and what has been neglected in the normal run of discussion. This time, Uche Ogbuji examines a couple of older XML schema systems for common business transactions that are overdue for a look (xCBL, cXML), as well as a new entry to the field (UBL), and some updates in the wide world of RDF.
|
 |
Articles |
 |
01 Jan 2002 |
|
| |
XML Matters: XML-RPC as object model
Columnist David Mertz examines XML-RPC as a way of modeling object data, and -- in response to reader feedback -- compares XML-RPC as a means of serializing objects with the xml_pickle module discussed in his earlier columns.
|
 |
Articles |
 |
01 Dec 2001 |
|
| |
Tip: Using CSS2 to display XML documents
Use CSS2 to view XML documents
|
 |
Articles |
 |
01 Dec 2001 |
|
| |
Using Emacs for XML documents
Emacs, best known as a powerful text editor for UNIX developers, can be an ideal XML editor for MS-DOS, Windows, and MacOS. The author describes how to install the right add-on packages and modify settings to create a powerful XML/SGML editing-and-validation environment in Emacs with extensions such as PSGML and OpenSP. Most of the work involved in setting up this environment ends with downloading and installing Emacs and the individual packages, but you must also configure Emacs properly and enable the DTDs you plan to work with. The article includes sample configuration files and XHTML DTDs.
|
 |
Articles |
 |
01 Dec 2001 |
|
| |
XML Watch: Bird's-eye BEEP
While debate continues on reusing HTTP as a convenient way to connect applications, a new protocol called BEEP -- Blocks Extensible Exchange Protocol -- has been standardized by the Internet Engineering Task Force (IETF). Making use of XML itself, BEEP does for Internet protocols what XML has done for documents and data. In his first column for developerWorks, seasoned XML observer Edd Dumbill explains how BEEP provides a framework that allows developers to focus on the important aspects of their applications rather than wasting time with the detail of establishing communication channels.
|
 |
Articles |
 |
01 Dec 2001 |
|
| |
Thinking XML: Basic XML and RDF techniques for knowledge management, Part 5
Uche Ogbuji moves on to define RDF and DAML+OIL schemata for the issue tracker application, continuing the discussion of modeling as he goes along.
|
 |
Articles |
 |
01 Mar 2002 |
|
| |
XML signatures: Behind the curtain
The XML Digital Signature Standard establishes how XML can functionally sign itself over an insecure network like the Internet. While this effort does not require an established PKI to function, it may require the use of trusted XML servers for authentication. Consequently, each enterprise will have to evaluate the potential security risk of outsourcing this increasingly critical business function.
|
 |
Articles |
 |
01 Dec 2001 |
|
| |
Thinking XML: Basic XML and RDF techniques for knowledge management, Part 4
Uche Ogbuji continues his exploration of how RDF combines with XML to enable knowledge management. In this installment, he takes an in-depth look at modeling in the RDF world, and begins to look at developing a schema for the issue tracker and how it is similar to and different from object-oriented and relational modeling. The reader will learn various tips, techniques, and best practices for developing effective knowledge management models from XML data.
|
 |
Articles |
 |
01 Feb 2002 |
|
| |
Thinking XML: Basic XML and RDF techniques for knowledge management, Part 3
This column, the third in a series, shows how to add semantic knowledge to an RDF application by incorporating WordNet synonym sets. With the added knowledge of the WordNet lexical database, you can search a set of RDF data for related concepts, not just one keyword at a time. As the demonstration issue-tracker application shows, that means searching once for instances that fit within the concept of "selection" rather than searching individually on "vote," "choice," "ballot," and 86 other related terms. Columnist Uche Ogbuji's sample code in Python illustrates the techniques.
|
 |
Articles |
 |
01 Nov 2001 |
|
| |
Tip: Subelement contents versus tag attributes
In this tip, developerWorks columnist David Mertz advises when to use tag attributes and when to use subelement contents to represent data. Learn what considerations go into designing a DTD, Schema, or just an ad hoc XML format. You'll also learn when attributes and contents are interchangeable, and when they aren't. Code samples show the options.
|
 |
Articles |
 |
01 Nov 2001 |
|
| |
XMI and UML combine to drive product development
Countless organizations rely on UML (Unified Modeling Language) in the software development process. But software to manage UML itself has a well-earned reputation for being inflexible and difficult. This article describes how the Danish development house Ideogramic ApS extended XMI (an XML specification targeted at such metadata as UML), and explores both the benefits and limitations of "XMLization."
|
 |
Articles |
 |
01 Oct 2001 |
|
| |
Working XML: Wrapping up XM version 1
In this month's column, developer and author Benoît Marchal adds final features to the first release of XM, a low-cost open-source content management solution based on XSLT (in Java). New features in this revision manage download pages and tables of contents via a directory reader that makes use of SAX and XMLFilter.
|
 |
Articles |
 |
01 Oct 2001 |
|
| |
XML Matters: XML and compression
This XML Matters column explores several approaches to compressing XML documents.
|
 |
Articles |
 |
01 Sep 2001 |
|
| |
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.
|
 |
Articles |
 |
01 Oct 2001 |
|
| |
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.
|
 |
Articles |
 |
01 Oct 2001 |
|
| |
Putting XSL transformations to work
This paper introduces the Extensible Stylesheet Language (XSL) and highlights several real-world business scenarios that benefit from the use of XSL transformations. XML data comes in many forms, so one of the most important technologies needed for XML applications is the ability to translate the data from one form to another and to convert it into document types -- such as HTML and PDF -- that can be rendered visible to end users. XSL defines a powerful mechanism for doing just that.
|
 |
Articles |
 |
01 Oct 2001 |
|
| |
Walking the Web with DOM
Using the DOM HTML module, developers can work with their XML documents and output them as HTML, using the same familiar API for both tasks. This article explains the DOM HTML module, shows examples of its use, and explains how to output HTML using DOM in a servlet environment. Code samples demonstrate the techniques.
|
 |
Articles |
 |
01 Oct 2001 |
|
| |
XML and Java technologies: Document models, Part 1: Performance
In this article, Java consultant Dennis Sosnoski compares the performance and functionality of several Java document models. It's not always clear what the tradeoffs are when you choose a model, and it can require extensive recoding to switch if you later change your mind. Putting performance results in the context of feature sets and compliance with standards, the author gives some advice on making the right choice for your requirements. The articles includes several charts and the source code for the test suite
|
 |
Articles |
 |
01 Sep 2001 |
|
| |
Working XML: Processing instructions and parameters
This month our hardworking columnist adds support for multiple style sheets to the XM content-management project. In so doing, he taps into TrAX URIResolver and writes his own parser for pseudo-attributes. As usual, the complete source code is available in the developerWorks Open source zone.
|
 |
Articles |
 |
01 Sep 2001 |
|
| |
C/C++ developers: Fill your XML toolbox
Designed for C and C++ programmers who are new to XML development, this article gives an overview of tools to assemble in preparation for XML development. Tool tables outline generic XML tools like IDEs and schema designers, parsers, XSLT tools, SOAP and XML-RPC libraries, and other libraries either usable from or actually written in C and/or C++. The article includes advice for installing open-source libraries on Windows, Unix, and Linux, plus a brief glossary of key XML terms.
|
 |
Articles |
 |
01 Sep 2001 |
|
| |
Enabling XML security
XML is a major enabler of what the Internet, and latterly Web services, require in order to continue growing and developing. Yet a lot of work remains to be done on security-related issues before the full capabilities of XML languages can be realised. At present, encrypting a complete XML document, testing its integrity, and confirming the authenticity of its sender is a straightforward process. But it is increasingly necessary to use these functions on parts of documents, to encrypt and authenticate in arbitrary sequences, and to involve different users or originators. At present, the most important sets of developing specifications in the area of XML-related security are XML encryption, XML signature, XACL, SAML, and XKMS. This article introduces the first two.
|
 |
Articles |
 |
01 Sep 2001 |
|
| |
Enabling XML documents for globalization
Facilitate the process of globalizing an application by organizing translatable resources in XML documents. You can use this technique to externalize the translatable content of your documents into language-specific subdocuments, as well as to structure XML documents, along with user-specified XML elements and attributes, to naturally process your translated documents. XML and Java sample code examples show how the technologies work together to handle globalization.
|
 |
Articles |
 |
01 Aug 2001 |
|
| |
Working XML: Link management and preparing the future
This article shows how to use XML filters to add new functionality to XM, an open-source Web publishing application.
|
 |
Articles |
 |
01 Aug 2001 |
|
| |
Tip: Using SAXTransformerFactory
In this detailed tip, Benoit Marchal explains how SAXTransformerFactory -- a class that feeds SAX events directly in an XSLT processor -- buys you greater flexibility when you save XML files.
|
 |
Articles |
 |
01 Aug 2001 |
|
| |
XML for Data: Four tips for smart architecture
This column tells how to avoid some common mistakes that even smart architects make when designing an XML solution. XML architect and author Kevin Williams offers four tips for designing flexible and high performance systems.
|
 |
Articles |
 |
01 Aug 2001 |
|
| |
Tip: Referencing XML schemas
Start using XML Schema to constrain XML documents. This brief tip tells how to reference an XML schema from your XML documents. Five pieces of sample code show how.
|
 |
Articles |
 |
01 Aug 2001 |
|
| |
SAX, the power API
Benoit Marchal gives a solid introduction to SAX, the event-based API for processing XML that has become a de facto standard.
|
 |
Articles |
 |
01 Aug 2001 |
|
| |
Tip: Using XML and XPointer
This tip introduces XPointer and discusses how to use it in conjunction with XLink to refer to a specific part of another XML document.
|
 |
Articles |
 |
01 Mar 2002 |
|
| |
XML for Data: XLink and data
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.
|
 |
Articles |
 |
01 Jul 2001 |
|
| |
Working XML: Using XSLT for content management
This is the first installment of Working XML, a column with companion project code that demonstrates the evolution of full-fledged XML applications.
|
 |
Articles |
 |
01 Jul 2001 |
|
| |
XML for Data: Styling with schemas
This column by developer and author Kevin Williams demonstrates how to use XML Schema archetyping (and style sheets) to control styling of data for various presentation modes. Ten code samples in XML, XML Schema, and XSLT show how the techniques work to reduce code bulk and simplify maintenance.
|
 |
Articles |
 |
01 Jul 2001 |
|
| |
Tip: How to use XLink with XML
XLink, an XML-related specification, lets you achieve dramatic linking effects in your XML documents. In this short tip learn how to include parts of other XML documents in your own XML through XLink. The code example demonstrates the technique.
|
 |
Articles |
 |
01 Feb 2002 |
|
| |
Recurse, not divide, to conquer
Software consultant and author Benoît Marchal answers an XSLT student's frequently asked question: How do you divide an HTML element between two XSLT templates? The trick is to ask the right question. 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.
|
 |
Articles |
 |
01 Jul 2001 |
|
| |
XML for Data: Using XML Schema archetypes
In the first installment of his new column, Kevin Williams describes the benefits of using archetypes in XML Schema designs for data and provides some concrete examples. He discusses both simple and complex types, and some advantages of using each. Code samples in XML Schema are provided.
|
 |
Articles |
 |
01 Jun 2001 |
|
| |
An introduction to XQuery
Howard Katz introduces the W3C's XQuery specification.
|
 |
Articles |
 |
06 Jan 2006 |
|
| |
XML Matters: Using Python modules xml2sql and dtd2sql
David Mertz shows that the reverse direction of translating an XML document and DTD back into an RDBMS storage format is equally possible, but with its own set of constraints and complications.
|
 |
Articles |
 |
01 Jun 2001 |
|
| |
Tip: Using JDOM and XSLT
In this tip, Brett McLaughlin tells how to avoid a common pitfall when working with XSLT and the JDOM API for XML developers working in Java. You'll learn how to take a JDOM document representation, transform it using the Apache Xalan processor, and obtain the resulting XML as another JDOM document. Transforming a document using XSLT is a common task, and JDOM makes the transformation go quite easily once you know how to avoid the missteps. The code demonstrates how to use JDOM with the new Apache Xalan 2 processor (for Java).
|
 |
Articles |
 |
01 Mar 2001 |
|
| |
Tip: Validation and the SAX ErrorHandler interface
In this tip, Brett McLaughlin explores SAX's validation capabilities and explains how to turn XML document validation on and off. He also covers the ErrorHandler interface, which enables you to receive notification of errors in your applications and act on that notification. Code samples demonstrate how to request validation and how to create and register an error handler in SAX.
|
 |
Articles |
 |
01 Jun 2001 |
|
| |