 |
 |
 |
 |
 |
 |
Working XML: Safe coding practices, Part 1
Benoit reviewed his project notes and has compiled a list of the most common pitfalls with XML technology. Save yourself a great deal of frustration by watching out for these potential problems in your own projects. In the first article in this series of four, Benoit reviews the hazards of the XML language itself.
|
 |
Articles |
 |
19 Aug 2005 |
|
| |
Working XML: Compiling the paths and automating tests
This month, our columnist discusses the compilation algorithm. He also invests a bit of time automating tests with JUnit.
|
 |
Articles |
 |
01 Jan 2002 |
|
| |
Working XML: Building a compiler for the SAX ContentHandler
This installment of the column describes the requirements for the Java project and analyzes its overall design. The new project, called HC (short for Handler Compiler), will take some drudgery out of event-based XML parsing by automatically generating the SAX ContentHandler for a list of XPaths.
|
 |
Articles |
 |
01 Nov 2001 |
|
| |
Working XML: Take advantage of lessons learned by refactoring XM
In this article, Benoit continues to work on a new version of XM, the simple content management solution that's based on XML and integrated with Eclipse. Benoit discusses issues faced while refactoring code and shows you how to create an incremental builder in Eclipse.
|
 |
Articles |
 |
30 Nov 2004 |
|
| |
Working XML: The Eclipse task list
After more than a year, Benoit returns to the XM (XSLT Make) project. He reports on changes with the Eclipse platform and embarks on a major update that will integrate XM more tightly with Eclipse. As a starting point, he looks into a simple interface enhancement that is often requested: support for the problem and task lists or, more specifically, support for markers. As you will see, working with these lists requires an indirection. He also looks into Eclipse's own resource management and discusses techniques for writing code that works equally well from within Eclipse and from the command line.
|
 |
Articles |
 |
22 Oct 2004 |
|
| |
Working XML: Understand the various approaches to XML parsing
Even developers who are very knowledgeable on advanced XML matters can lack a firm understanding of the fundamentals. To ensure a solid foundation, this article covers the most basic XML service: parsing. It introduces the various approaches to parsing and highlights their pros and cons.
|
 |
Articles |
 |
03 Jan 2007 |
|
| |
Working XML: Serve friendlier RSS and Atom feeds
In this article, Benoit offers a technique to help visitors to your Web site read and understand the RSS and Atom feeds.
|
 |
Articles |
 |
24 Oct 2006 |
|
| |
Working XML: Expand RSS capabilities with RSS extensions
Use RSS extensions to overcome some limitations of the RSS standard. Benoit Marchal introduces three popular RSS extensions to illustrate the technique.
|
 |
Articles |
 |
15 Aug 2006 |
|
| |
Working XML: UML, XMI, and code generation, Part 4
In this final article in his series on UML and XML, Benoit wraps up the technique. He discusses the need to simplify the model by burying some of the logic in the XSLT stylesheet. He also points out several common pitfalls.
|
 |
Articles |
 |
18 Aug 2004 |
|
| |
Working XML: Safe coding practices, Part 3
Benoit continues his four-part series of columns reviewing common pitfalls with XML technology. He turns your attention now to validation of documents and error handling. Learn how to avoid common mistakes when you design and implement error handling in your XML applications.
|
 |
Articles |
 |
27 Sep 2005 |
|
| |
Working XML: Mapping files into SOAP requests, Part 2
Many applications are being upgraded to accommodate e-commerce transactions. In his previous column, Benoit Marchal analyzed legacy data and showed how to map into a state-of-the art SOAP request. Now in part 2, he discusses the XML and XSL coding necessary to implement the analysis.
|
 |
Articles |
 |
14 Jan 2004 |
|
| |
Working XML: A lightweight XML client
While excellent solutions are available for large corporations that want to implement XML, few solutions exist for smaller organizations. In this article, Benoit Marchal launches a new project for the Working XML column: an XML client for e-commerce, born out of his experience with B2B e-commerce over the last couple of years. Share your thoughts on this article with the author and other readers in the accompanying discussion forum.
|
 |
Articles |
 |
09 Sep 2003 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
Working XML: Comparing XSLT 2.0 and XQuery
The W3C is putting the final touches on major updates of XSLT and XPath. In the process, they have created a new language, XQuery, which might compete with XSLT in some projects. Learn the specifics of each language and decide which one will save you more time in your projects.
|
 |
Articles |
 |
04 Apr 2006 |
|
| |
Working XML: UML, XMI, and code generation, Part 3
In his third article on UML modeling and XML, Benoit further refines the conversion stylesheet with the introduction of stereotypes and tags. These are extension mechanisms for UML that are used to store implementation information in the model.
|
 |
Articles |
 |
30 Jun 2004 |
|
| |
Working XML: UML, XMI, and code generation, Part 2
In the second part of this series on UML and XML, Benoit introduces the UML metamodel. He proceeds to XMI, the XML-based specification for the exchange of models. He then shows how to map from the metamodel to XML schema. As an illustration, he includes two stylesheets that provide simple round-trip engineering between UML and XML.
|
 |
Articles |
 |
11 May 2004 |
|
| |
Working XML: Map files into SOAP requests, Part 1
Many applications are being upgraded to accommodate e-commerce transactions. In the first of two articles on the subject, Benoit Marchal shows one simple approach to this: Create XML transactions from the export files that most business applications already produce. He discusses his experience deploying such a solution to small enterprises.
|
 |
Articles |
 |
10 Dec 2003 |
|
| |
Working XML: Importing text as XML with XI
This column marks the launch of the third "Working XML" project. This new project deals with importing text documents in an XML publishing solution (or any XML solution for that matter).
|
 |
Articles |
 |
01 Apr 2002 |
|
| |
Working XML: Fundamentals of Web publishing with XML
As more developers learn and experiment with XML, many have become interested in using stylesheets to publish and manage Web sites. But getting started is not always that easy. Although none of the concepts, taken in isolation, is difficult, putting them together coherently is not a trivial undertaking. In this article, Benoit Marchal provides step-by-step instructions to get you started. He shows how to organize your project in source, rules (stylesheets), and publishing directories. You'll also get some practical tips on XML editors.
|
 |
Articles |
 |
11 Jul 2003 |
|
| |
Working XML: A first version of the lightweight client
Benoit continues to develop a lightweight XML client. In this article, he shows you how to create SOAP transactions through XSLT. Combined with XI, a text-to-XML conversion engine, this process makes it easy to create SOAP messages. Ultimately, the goal is to create SOAP messages from data exported by business applications.
|
 |
Articles |
 |
14 Oct 2003 |
|
| |
Working XML: Safe coding practices, Part 4
Find out how to make the best choices when you work with documents that mix XML and binary data. The concluding article in Benoît's four-part series on safe XML coding practices helps you understand the pros, cons, and pitfalls of the available solutions for mixing textual and binary content.
|
 |
Articles |
 |
02 Nov 2005 |
|
| |
Working XML: Get started with XPath 2.0
XPath 2.0 is the foundation of two essential recommendations currently in the final stages of development at W3C: XSLT 2.0 and XQuery. It is a major rewrite designed to significantly increase the power and efficiency of the language. In this article, Benoit Marchal shows how the new data model enables you to easily write more sophisticated requests.
|
 |
Articles |
 |
30 May 2006 |
|
| |
Working XML: Safe coding practices, Part 2
Save yourself hours of debugging and maintenance. Benoit continues to review his notes on horror stories in the use of XML. In the process, he discusses appropriate design techniques for working with XML documents, and how best to integrate XML processing into an application.
|
 |
Articles |
 |
07 Jul 2005 |
|
| |
Working XML: UML, XMI, and code generation, Part 1
In this first article in a new series on UML and XML schema development, Benoit discusses the motivations for modeling XML schema through the use of UML. He also introduces XML Metadata Interchange (XMI) and sketches out a strategy for deriving XML schemas automatically from UML models.
|
 |
Articles |
 |
31 Mar 2004 |
|
| |
Working XML: Layout, properties, and preferences in Eclipse
Originally developed here in the Working XML column on developerWorks, XM is a simple publishing framework that uses XML and XSL. In this installment, Benoit Marchal looks more directly at user interface considerations, including managing properties and preferences in Eclipse for his XSL publishing plug-in.
|
 |
Articles |
 |
16 Apr 2003 |
|
| |
Working XML: Building a project with Eclipse and XM
In his latest installment on Eclipse and XM, Benoit Marchal implements a builder that recompiles the project automatically when a file is added or changed. He also looks into future enhancements for XM.
|
 |
Articles |
 |
01 Mar 2003 |
|
| |
Working XML: Creating a project
Work continues to integrate Eclipse -- IBM's open-source project to build an extensible IDE for Java developers -- and Benoit Marchal's simple content-management solution, XM. In this installment, Benoit adds a wizard to initialize a new project.
|
 |
Articles |
 |
01 Jan 2003 |
|
| |
Working XML: Integrating XM and Eclipse
The more author and columnist Benoît Marchal learns about Eclipse and the plug-in API, the more he likes what he sees. In this column, Benoît continues his ongoing project to integrate XM (a simple content management and publishing solution based on XML and XSLT) and Eclipse (an open-source project to define a next-generation Integrated Development Environment for Java developers). His effort pays off when XM launches from the IDE. As a bonus, Benoît finds a basic XML editor already hidden in the toolkit!
|
 |
Articles |
 |
01 Nov 2002 |
|
| |
Working XML: Putting XI to good use
When it comes to user interfaces, simplification is the key. Fewer options and fewer controls mean less confusion and less chance for error. The author uses the concept of less is more to create a user interface that makes XI, the text-to-XML conversion tool, easier to use and more palatable.
|
 |
Articles |
 |
01 Aug 2002 |
|
| |
Working XML: Wrapping up XI
Columnist Benoit Marchal continues to shape XI, an open-source project that converts legacy text to XML. For increased efficiency, XI now implements the SAX XMLReader interface, which proves handy in linking XI to an XSLT processor. Code samples demonstrate the techniques, and the complete source code is available as well. Each month the column reports on the author's open source projects designed to assist fellow XML developers, especially those working with Java technology.
|
 |
Articles |
 |
01 Jul 2002 |
|
| |
Working XML: Compiling XPaths
This month our columnist describes how he implements the DFA construction algorithm, giving the first concrete example of using the compiler to recognize XPath.
|
 |
Articles |
 |
01 Jan 2002 |
|
| |
Working XML: Define and load extension points
In this article, Benoit takes integration between XM, the simple content-management solution, and Eclipse one step further. Publishing a Web site requires you to work with many file types in addition to XML, so it makes sense to design a publishing system around an extensible core. Eclipse plug-ins fit the bill nicely. Benoit shows how to make the XM plug-in extensible to accommodate multiple file types.
|
 |
Articles |
 |
03 Feb 2005 |
|
| |
Working XML: Use Eclipse to build a user interface for XM
Anyone familiar with XM -- the low-cost, open-source content management solution based on XSLT -- knows that for all its good points, it still lacks a decent user interface. In this article, columnist Benoît Marchal uses the Eclipse platform's open universal framework to build a user interface for XM.
|
 |
Articles |
 |
01 Oct 2002 |
|
| |
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 |
|
| |