 |
 |
 |
 |
 |
 |
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 |
|
| |
Creating a declarative XML UI language
Writing GUIs in program code can often lead to messy design choices, which
in turn results in a blurring between business logic and UI code. Discover how to create a
declarative XML UI tag set with an accompanying Java(TM) framework that parses, validates,
constructs, and finally binds the declared GUI components to business logic at runtime.
|
 |
Articles |
 |
01 Sep 2009 |
|
| |
Working with XML on Android
Android is a modern, open source operating system and SDK for mobile devices. With it you can create powerful mobile applications. This becomes even more attractive when your applications can access Web services, which means you need to speak the language of the Web: XML. In this article, you will see different options for working with XML on Android and how to use them to build your own Android applications.
|
 |
Articles |
 |
23 Jun 2009 |
|
| |
Implement Web cut-and-paste using Atom XML and Firefox XUL
Even after 20 years, the Web continues to redefine itself. The Internet is
transforming from a hypertext document system to something that resembles a full-blown
operating system. In this article, focus on a critical functionality missing in the emerging cloud-based operating system:
The existence of a standards-based Web clipboard. Discover what a Web clipboard might look like using AtomPub and the AtomClip
XUL Firefox extension.
|
 |
Articles |
 |
02 Jun 2009 |
|
| |
Thinking XML: Firefox 3.0 and XML
Mozilla continues to improve its flagship browser and the latest major release,
Firefox 3.0, offers something for just about everyone. XML developers were certainly
not left out -- the new version improves basic parsing, DOM, XSLT, SVG, and more. In this article, learn of the new features Firefox 3.0 offers for XML processing; pay close attention to how the added EXSLT extensions open up fresh possibilities for XSLT on the browser.
|
 |
Articles |
 |
29 Jul 2008 |
|
| |
Deal with errors in XML parsing
XML parsing is a part of nearly every enterprise application. Error handling, though, is absent from most of those same applications. Learn how to use the Simple API for XML (SAX) to deal with errors in your XML parsing -- even if your applications are using the DOM, JAXP, or another API to deal with XML.
|
 |
Articles |
 |
22 Jul 2008 |
|
| |
Learn 10 good XML usage habits
Make your XML work easier with the ten tips in this article -- ultimately you'll be less prone to errors and more productive.
|
 |
Articles |
 |
13 May 2008 |
|
| |
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 - 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 |
|
| |
Integrate XForms with the Google Web Toolkit, Part 4: Creating interactive forms with GWT and XForms
This four-part series demonstrates how to use the Google Web Toolkit (GWT) and XForms together to create a dynamic Web application. Part 1 looks at the JavaScript
underpinnings of each technology. Part 2 shows how to use those JavaScript
underpinnings to start mixing the two technologies together to build the rock star
application. Part 3 refactors the application to use XForms and GWT together. In
this concluding part, you'll continue to refactor and improve your rock star application.
|
 |
Articles |
 |
16 Oct 2007 |
|
| |
Top ten XML articles and tutorials - September 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
12 Oct 2007 |
|
| |
Update XML in DB2 9.5
Modify, insert, or delete individual elements and attributes within an XML document with XQuery Update
Facility, a standardized extension to XQuery. This makes updating XML data easier and provides higher performance.
|
 |
Articles |
 |
11 Oct 2007 |
|
| |
Write XForms that work across browsers
Learn how XHTML and XForms documents should be
hosted and written to ensure that your end users have the best experience with
your XForms-based applications.
|
 |
Articles |
 |
02 Oct 2007 |
|
| |
Integrate XForms with the Google Web Toolkit, Part 1: Introducing GWT's JavaScript Native Interface
This four-part series demonstrates how to use the Google Web Toolkit (GWT) and XForms together to create a dynamic Web application. Part 1 starts with a bottom-up approach to the problem of using GWT and XForms together. It takes a look at some of the underpinnings of each technology, examining the common ground between them that will allow for their peaceful coexistence. This will lay the foundation for developing a Web application that uses both GWT and XForms together.
|
 |
Articles |
 |
18 Sep 2007 |
|
| |
Top ten XML articles and tutorials - August 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
13 Sep 2007 |
|
| |
Program with XML for DB2, Part 3: Program with XML in the client
Learn how to extend the XML model in order to create rich clients using XML
data transferred from your application server. Discover how to use
Dynamic HTML (DHTML) to present the XML, XPath to navigate the XML and the Document Object Model
(DOM) to modify and serialize the XML back to the application server.
|
 |
Articles |
 |
16 Aug 2007 |
|
| |
Program with XML for DB2, Part 2: Leverage database support for XML in your application architecture
Learn how the new XML storage and query environment of IBM DB2 9 for Linux, UNIX, and Windows plays into the XML data model described in Part 1 of this series. Part 2 focuses on how to exploit the improved database support for XML in your application architecture.
|
 |
Articles |
 |
02 Aug 2007 |
|
| |
Use JavaScript to make your XForms more robust
Have you ever had an XForm where you clicked the Remove button until all the rows disappeared, and then tried to insert a row back? What happens? Nothing! That's what this article will show you how to solve using JavaScript.
|
 |
Articles |
 |
24 Jul 2007 |
|
| |
Programming with XML for DB2, Part 1: Understand the XML data model
A primary goal of XML is to make the application development process simple, cheap, portable, and of high quality. XML programming is bringing about the same kind of radical shift in the application development paradigm in this decade as object methodologies did in the last decade. In the first of a series on programming with XML for DB2, you'll learn the basics of the XML data model and the advantages it brings to your programming environment over a pure object model.
|
 |
Articles |
 |
19 Jul 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 - May 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
12 Jun 2007 |
|
| |
Top ten XML articles and tutorials - June 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
12 Jun 2007 |
|
| |
Understanding XForms
With XML-based technologies such as XForms, XQuery, and XSLT, it is possible to create complex multi-user applications, from interactive help systems to custom "game" applications in which multiple users can interact with at once.
|
 |
Articles |
 |
05 Jun 2007 |
|
| |
Top ten XML articles and tutorials - April 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
04 May 2007 |
|
| |
Simplify Ajax development with jQuery
jQuery is a JavaScript library that helps simplify your JavaScript and Asynchronous JavaScript + XML (Ajax) programming. Unlike similar JavaScript libraries, jQuery has a unique philosophy that allows you to express common complex code succinctly. Learn about the jQuery philosophy, discover its features and functions, perform some common Ajax tasks, and find out how to extend jQuery with plug-ins.
|
 |
Articles |
 |
10 Apr 2007 |
|
| |
XML for PHP developers, Part 3: Advanced techniques to read, manipulate, and write XML
This final article in a three-part series discusses more techniques for reading, manipulating, and writing XML in PHP5. In it, you will focus on the now familiar APIs DOM and SimpleXML in more sophisticated surroundings, and, for the first time in this three-part series, on the XSL extension.
|
 |
Articles |
 |
13 Mar 2007 |
|
| |
Understanding DOM
Even before there was XML, there was the Document Object Model, or DOM. It allows a developer to refer to, retrieve, and change items within an XML structure, and is essential to working with XML. In this tutorial, you will learn about the structure of a DOM document. You will also learn how to use Java technology to create a Document from an XML file, make changes to it, and retrieve the output.
|
 |
Tutorials |
 |
12 Mar 2007 |
|
| |
XML for PHP developers, Part 2: Advanced XML parsing techniques
This second article in a three-part series will discuss XML parsing techniques of PHP5, focusing on parsing large or complex XML documents. It will offer some background about parsing extensions and, specifically, what parsing methods are best suited to what types of XML documents and why.
|
 |
Articles |
 |
06 Mar 2007 |
|
| |
XML for Perl developers, Part 2: Advanced XML parsing techniques using Perl
This series is a guide to those who need a quick XML-and-Perl solution. Part 1 looked at XML::Simple, a tool to integrate XML into a Perl application. This second article in the series introduces the Perl programmer to the two major schools of XML parsing: tree parsing and event-driven parsing.
|
 |
Articles |
 |
06 Feb 2007 |
|
| |
Mastering Ajax, Part 9: Using the Google Ajax Search API
Making asynchronous requests isn't just about talking to your own server-side programs. You can also communicate with public APIs like those from Google or Amazon, and add more functionality to your Web applications than just what your own scripts and server-side programs provide. In this article, Brett McLaughlin teaches you how to make and receive requests and responses from public APIs like those supplied by Google.
|
 |
Articles |
 |
23 Jan 2007 |
|
| |
XML in 2006
Join Elliotte Rusty Harold for a look back at the most significant XML news from 2006.
|
 |
Articles |
 |
16 Jan 2007 |
|
| |
XForms tip: Call JavaScript from an XForms form
Because XForms controls are part of a namespace separate from the HTML and page, you cannot use the usual methods for calling JavaScript in response to user events, such as the onclick handler. So what are you to do if you need to call JavaScript from an XForms form? This tip shows you how to do it.
|
 |
Articles |
 |
09 Jan 2007 |
|
| |
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 |
|
| |
XForms tip: Use XForms to upload a file to PHP
Uploading files is a fairly common task using HTML forms, but how do you do it in XForms, where the data gets stored as part of an XML document? This tip explains how to create an XForms form that enables the user to upload a file, and it explains how to create a PHP script that saves the file on the server once it arrives.
|
 |
Articles |
 |
03 Jan 2007 |
|
| |
StAX'ing up XML, Part 3: Using custom events and writing XML
In addition to a low-level cursor-based API, StAX provides a powerful iterator-based method to process XML that uses event objects to communicate information about the parsed stream. Part 2 explored this API in detail and provided some examples of its use. In this article, you'll examine customization techniques that use application-defined events. In particular, you'll see how to create custom event classes and use them to process XML with the event iterator-based API. Last but not least, you'll review the serialization API provided by StAX for writing XML as a stream of tokens as well as event objects.
|
 |
Articles |
 |
12 Dec 2006 |
|
| |
Build a shopping cart application using XForms
This tutorial focuses on key aspects of the W3C XForms 1.0 standard to produce a fully functional Web-based shopping cart. With this approach, the reader will get a good start at creating real-world applications with XForms, without having to learn the entire XForms specification.
|
 |
Tutorials |
 |
12 Dec 2006 |
|
| |
StAX'ing up XML, Part 2: Pull parsing and events
The event iterator-based API provided by Streaming API for XML (StAX) offers a unique blend of advantages over other XML processing methods in terms of both performance and usability. Part 1 introduced StAX and described in detail its cursor-based API. In this article, delve deeper into the event iterator-based API and explore its benefits to Java(TM) developers.
|
 |
Articles |
 |
05 Dec 2006 |
|
| |
XForms tip: Use XForms to upload a file to Java
Uploading files is a fairly common task using HTML forms, but how do you do it in XForms, where the data gets stored as part of an XML document? This tip explains how to create an XForms form that enables the user to upload a file, and it explains how to create a Java servlet that saves the file on the server once it arrives.
|
 |
Articles |
 |
05 Dec 2006 |
|
| |
StAX'ing up XML, Part 1: An introduction to Streaming API for XML (StAX)
The Streaming API for XML (StAX) is the latest standard for processing XML in the Java (TM) language. As a stream-oriented approach, it often proves a better alternative to other methods, such as DOM and SAX, both in terms of performance and usability. This article, the first in a three part series, provides an overview of StAX and describes its cursor-based API for processing XML.
|
 |
Articles |
 |
29 Nov 2006 |
|
| |
XML Matters: MochiKit
MochiKit is a useful and high-level library for JavaScript. MochiKit takes its main inspiration from Python, and from the many conveniences the Python standard library offers; but on the side it also smooths over the inconsistencies among browser versions. MochiKit.DOM is a particularly handy component that lets you work with DOM objects in much friendlier ways than raw"JavaScript provides. A lot of MochiKit.DOM is customized for XHTML work, which possibly makes its use of XHTML wrapped microformats particularly convenient when combining MochiKit and Ajax.
|
 |
Articles |
 |
21 Nov 2006 |
|
| |
Mastering Ajax, Part 8: Using XML in requests and responses
In the last article of the series,you saw how your Ajax apps can format requests to a server in XML. You also saw why, in most cases, that isn't a good idea. This article focuses on something that often is a good idea: returning XML responses to a client.
|
 |
Articles |
 |
07 Nov 2006 |
|
| |
Dynamic XForms submissions
XForms is an ideal open standards technology for collecting and submitting
data from a wide variety of Web-capable platforms. Creating a single input form for collecting data from many sources is common. However, each location filling out the form may have its own site unique submission requirements such as submitting to multiple targets that are not known to the form author. Mutliple submission targets include local save locations, or submitting to a write-only "vault" for auditing or logging, or any other site-specific submission targets. Using JavaScript to edit the DOM with XForms allows a single form to accommodate multiple, site-unique submission requirements.
|
 |
Articles |
 |
07 Nov 2006 |
|
| |
Mastering Ajax, Part 7: Using XML in requests and responses
Brett McLaughlin demonstrates how you can use XML as the data format for sending asynchronous requests.
|
 |
Articles |
 |
10 Oct 2006 |
|
| |
XForms tip: Accepting XForms data in Java
Much has been made about the ability of XForms to provide interactivity, and to submit information in XML. But none of that will do you any good unless you have a way to analyze the data once you send it to the server. This tip shows you how to access the submitted XML data using a Java servlet.
|
 |
Articles |
 |
03 Oct 2006 |
|
| |
Introduction to XForms, Part 3: Using actions and events
XForms is the next generation of Web-based data processing. It replaces traditional HTML forms with an XML data model and presentation elements. In this three-part series, you'll be introduced to XForms and its capabilities, including the basic XForms model and form, the various types of controls, and basic and advanced form submission. This article, the third of a three-part series, shows you how to use actions and events with XForms, and how to control the format of the form's output.
|
 |
Articles |
 |
26 Sep 2006 |
|
| |
XForms tip: Using the switch/case elements
XForms are designed to provide an interactive experience, and in many cases that means showing the user different information based on different conditions. For example, you may have a form with multiple sections, but you don't want to overwhelm the user by displaying it all at once. In this tip, you will use XForms switch and case elements to display only part of a form at any given time.
|
 |
Articles |
 |
22 Sep 2006 |
|
| |
Mastering Ajax, Part 6: Build DOM-based Web applications
Continue to explore how DOM programming fits into interactive Ajax applications as Brett McLaughlin completes his trilogy of articles on DOM programming with a DOM application in practice.
|
 |
Articles |
 |
12 Sep 2006 |
|
| |
Mastering Ajax, Part 5: Manipulate the DOM
Last month Brett introduced the Document Object Model, whose elements work behind the scenes to define your Web pages. This month he dives even deeper into the DOM. Learn how to create, remove, and change the parts of a DOM tree, and take the next step toward updating your Web pages on the fly!
|
 |
Articles |
 |
11 Apr 2006 |
|
| |
Mastering Ajax, Part 4: Exploiting DOM for Web response
The great divide between programmers (who work with back-end applications) and Web programmers (who spend their time writing HTML, CSS, and JavaScript) is long standing. However, the Document Object Model (DOM) bridges the chasm and makes working with both XML on the back end and HTML on the front end possible and an effective tool. In this article, Brett McLaughlin introduces the Document Object Model, explains its use in Web pages, and starts to explore its usage from JavaScript.
|
 |
Articles |
 |
14 Mar 2006 |
|
| |
Mastering Ajax, Part 3: Advanced requests and responses in Ajax
For many Web developers, making simple requests and receiving simple responses is all they'll ever need, but for developers who want to master Ajax, a complete understanding of HTTP status codes, ready states, and the XMLHttpRequest object is required. In this article, Brett McLaughlin will show you the different status codes and demonstrate how browsers handle each and he will showcase the lesser-used HTTP requests that you can make with Ajax.
|
 |
Articles |
 |
14 Feb 2006 |
|
| |
User annotations in Ajax
The ability to add notes and comments to your Web site can be a powerful and attractive feature for users. This tutorial demonstrates how to implement an Asynchronous JavaScript and XML (AJAX)-based user annotation system in the form of yellow sticky notes that sit on top of regular Web page content. The only additional, required configuration is a back-end Perl script that stores the annotations
|
 |
Tutorials |
 |
31 Jan 2006 |
|
| |
Mastering Ajax, Part 2: Make asynchronous requests with JavaScript and Ajax
Most Web applications use a request/response model that gets an entire HTML page from the server. The result is a back-and-forth that usually involves clicking a button, waiting for the server, clicking another button, and then waiting some more. With Ajax and the XMLHttpRequest object, you can use a request/response model that never leaves users waiting for a server to respond. In this article, Brett McLaughlin shows you how to create XMLHttpRequest instances in a cross-browser way, construct and send requests, and respond to the server.
|
 |
Articles |
 |
17 Jan 2006 |
|
| |
JAXP validation
The latest version of the Java programming language -- Java 5.0 -- includes an improved, expanded version of the Java API for XML Processing (JAXP). A major addition to JAXP is the new validation API, which allows greater interactivity, support for XML Schema and RELAX NG, and the ability to make on-the-fly changes while validating. All of these improvements finally give Java developers an industrial-strength solution for XML validation. This article details the new API, from its basics to the more advanced features.
|
 |
Articles |
 |
11 Oct 2005 |
|
| |
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 |
|
| |
IBM XML certification success, Part 2: Prepare for IBM XML certification with more technologies
This is the second part of a three-part tutorial series designed specifically for those interested in taking the IBM Certified Solution Developer Exam for XML and Related Technologies. Here, authors Pradeep Chopra and Hari Vignesh Padmanaban follow up on the lessons in Part 1 by introducing the reader to several more critical XML technologies like XPath, XSLT, XLink, XPointer, CSS, XSL-FO, SAX, and DOM. Furthermore, the authors reinforce the reader's understanding through examples and exercises.
|
 |
Tutorials |
 |
31 May 2005 |
|
| |
All about JAXP, Part 2
Part 1 of this two-part series introduced the Java API for XML Processing (JAXP) and its parsing and validation features. JAXP also offers Java programmers the ability to transform XML documents using Extensible Stylesheet Language (XSL). Through both direct programmatic access and XSL templating, JAXP makes conversion from one XML format to another an easy task. This article shows you how to use JAXP to transform XML documents and how to cache XSL stylesheets for the best performance possible.
|
 |
Articles |
 |
31 May 2005 |
|
| |
XML Matters: Beyond the DOM
The Document Object Model (DOM) is one of the most widely implemented tools for manipulating XML and HTML data, but it is rarely used to its full potential. By taking advantage of the DOM and extending it to be even easier to use, you gain a powerful tool for XML applications, including dynamic Web applications.
|
 |
Articles |
 |
20 May 2005 |
|
| |
XML Matters: Summary
Welcome to XML Matters, a regular column that illustrates general programming concepts and offers programming code to the programming community that you, as an individual developer, can utilize for your own purpose.
|
 |
Articles |
 |
03 Dec 2004 |
|
| |
Improve performance in your XML applications, Part 3
In this final installment of a three-part series describing best practices for writing XML applications, authors Elena Litani and Michael Glavassevich explain how to use Xerces2-specific features and properties to improve performance. They also give a short overview of the Xerces Native Interface (XNI), compare it with SAX, and discuss the Xerces2 grammar caching API, which can significantly improve performance of applications that require validation against DTDs or XML schemas.
|
 |
Articles |
 |
02 Sep 2004 |
|
| |
Improve performance in your XML applications, Part 2
In this installment of a three-part series describing best practices for writing XML applications, authors Elena Litani and Michael Glavassevich explain how to improve your SAX and DOM applications' performance by using the Xerces2 implementation. They also include code samples to show you how to improve your application's performance by reusing parser instances.
|
 |
Articles |
 |
30 Jul 2004 |
|
| |
Improve performance in your XML applications, Part 1
Write your application to get the best possible performance, plus learn which SAX or DOM operations and features affect application performance. In this first of a three-part article, authors Elena Litani and Michael Glavassevich describe best practices for writing XML apps and documents, and for developing applications with the standard SAX and DOM APIs.
|
 |
Articles |
 |
26 Jul 2004 |
|
| |
XML programming in Java technology, Part 3
This advanced tutorial covers more sophisticated topics for manipulating XML documents with Java technology. Author Doug Tidwell shows you how to do tasks such as generate XML data structures, manipulate those structures, and interface XML parsers with non-XML data sources. As you'd expect, all of the examples are based on open standards.
|
 |
Tutorials |
 |
16 Jul 2004 |
|
| |
XML programming in Java technology, Part 2
In an earlier tutorial, Doug Tidwell looked at the basics of XML parsing in the Java language. He covered the major APIs (DOM, SAX, and JDOM), and went through a number of examples that demonstrated the basic tasks common to most XML applications. In this tutorial, he looks at more difficult things that weren't covered in Part 1, such as working with namespaces, validating XML documents, building XML structures without a typical XML document, converting between one API and another, and manipulating tree structures. He also shows you some of the more esoteric features of DOM, SAX, JDOM, and JAXP.
|
 |
Tutorials |
 |
09 Jul 2004 |
|
| |
A survey of XML standards: Part 4
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. Uche Ogbuji has presented the most important standards relating to XML in three in-depth articles. In this fourth article, he provides a detailed cross-reference of all the covered standards.
|
 |
Articles |
 |
02 Mar 2004 |
|
| |
A survey of XML standards: Part 2
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. Uche Ogbuji continues this series on XML standards by focusing on XML processing technologies.
|
 |
Articles |
 |
03 Feb 2004 |
|
| |
Tip: Use language-specific tools for XML processing
DOM and SAX are the two best known systems for XML processing, but they are really compromises across programming languages. As such, they do not take advantage of any language's particular strengths. Often it is better to duck conventional wisdom and use special APIs that take advantage of particular strengths.
|
 |
Articles |
 |
30 Jan 2004 |
|
| |
XML Matters: The XOM Java XML API
In this installment, David looks at Elliotte Rusty Harold's XOM. Broadly speaking, this is yet another object-oriented XML API, somewhat in the style of DOM, however a number of features set XOM apart, and Harold argues that they are important design elements. Chief among these is a rigorous insistence on maintaining invariants in in-memory objects so that an XOM instance can always be serialized to correct XML. In addition, XOM aims at greater simplicity and regularity than other Java XML APIs.
|
 |
Articles |
 |
17 Dec 2003 |
|
| |
DOM NodeFilters and XML data binding
Using a DOM NodeFilter lets you control the contents of a set of XML data without touching the base application, but the NodeFilter itself is still a class, and needs to be recompiled in order to make any non-trivial changes. This tutorial explains how to build a system that enables a user to control both the criteria for a report and the structure of that criteria simply by providing XML input, either through a file or through a web service, using XML Data Binding.
|
 |
Tutorials |
 |
28 Oct 2003 |
|
| |
Discover key features of DOM Level 3 Core, Part 2
In this two-part article, the authors present some of the key features brought by the W3C Document Object Model (DOM) Level 3 Core Working Draft and show you how to use them with examples in Java code. In this second part, they cover operations on the document, access to type information, and introduce you to the early implementation of this API in the Apache Xerces2 project.
|
 |
Articles |
 |
26 Aug 2003 |
|
| |
Discover key features of DOM Level 3 Core, Part 1
In this two-part article, the authors present some of the key features brought by the W3C Document Object Model (DOM) Level 3 Core Working Draft and show you how to use them with examples in Java code. This first part covers manipulating nodes and text, and attaching user data onto nodes.
|
 |
Articles |
 |
19 Aug 2003 |
|
| |
Serialize XML data
IBM developer Tinny Ng shows you how to serialize XML data to a DOMString with different encodings. You'll also find examples that demonstrate how to use the MemBufFormatTarget, StdOutFormatTarget, and LocalFileFormatTarget output streams in XML4C/Xerces-C++.
|
 |
Articles |
 |
15 Jul 2003 |
|
| |
Tip: Output large XML documents, Part 5
In this, the last in a five-part series of tips on outputting large XML documents, Brett McLaughlin provides several practical examples of using the SAX DataWriter class to output XML.
|
 |
Articles |
 |
23 Apr 2003 |
|
| |
Tip: Output large XML documents, Part 4
This tip introduces the XMLWriter class, a specialized SAX filter that handles output of stream-based XML. The tip also examines DataWriter, a subclass of XMLWriter that offers even more output capabilities. Both classes are examined in the context of handling the output of large XML documents and datasets.
|
 |
Articles |
 |
17 Apr 2003 |
|
| |
Tip: Output large XML documents, Part 3
This tip delves further into the use of XML filters, as introduced in the previous tip. You will see several practical examples of filters, including utilities that filter out all elements, all attributes, or particular elements or attributes in an XML document. Each is provided as a reusable filter.
|
 |
Articles |
 |
09 Apr 2003 |
|
| |
Tip: Output large XML documents, Part 2
This tip begins to detail ways to handle large XML documents. You will learn what an XMLFilter is, and how it builds upon the core SAX API to offer advanced data filtering. This is the first piece in the puzzle of handling large datasets, allowing you to extract only relevant data from an XML document for output.
|
 |
Articles |
 |
02 Apr 2003 |
|
| |
Tip: Output large XML documents, Part 1
This tip details the problems associated with outputting large XML documents, starting with an examination of the options for XML output. It then looks at DOM and XML output, along with possible solutions to the memory consumption associated with extended DOM usage. You'll get an understanding of why outputting XML is so tricky, and a solid grasp of the output alternatives that are available.
|
 |
Articles |
 |
26 Mar 2003 |
|
| |
Tip: Basics of bootstrapping with DOM, Part 2
In this tip, you'll learn about a better way to bootstrap in your DOM applications. This builds upon the previous tip, which examined the abilities that DOM natively provides for this task.
|
 |
Articles |
 |
01 Dec 2002 |
|
| |
Tip: Basics of bootstrapping with DOM, Part 3
This tip explains the changes to DOM Level 3 that relate to bootstrapping, and how they improve upon DOM Levels 1 and 2..
|
 |
Articles |
 |
01 Dec 2002 |
|
| |
Tip: Basics of bootstrapping with DOM, Part 1
This tip, the first in a series on bootstrapping with DOM, explains what bootstrapping is, explores the problems associated with it, and lays out the basics for use in DOM Levels 1 and 2.
|
 |
Articles |
 |
01 Nov 2002 |
|
| |
Tip: Using a DOM NodeFilter
This tip shows you how to create a a NodeFilter as well as a Traversal object that uses it.
|
 |
Articles |
 |
01 Nov 2002 |
|
| |
Tip: Traversing an XML document with a TreeWalker
This tip demonstrates the process of determining whether TreeWalkers are available and using them to extract information from a document.
|
 |
Articles |
 |
01 Oct 2002 |
|
| |
Effective XML processing with DOM and XPath 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.
|
 |
Articles |
 |
01 May 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 |
|
| |
Develop Python/XML with 4Suite, Part 2: 4XPath and 4XSLT
This tutorial introduces 4XPath and 4XSLT, open-source XPath and XSLT implementations written and provided by Fourthought Inc. in Python. Roughly the first half of the tutorial addresses XPath/4XPath whereas the second half covers XSLT/4XSLT. If you plan to use Python in association with XML processing, these are useful tools to get to know.
|
 |
Tutorials |
 |
30 Oct 2001 |
|
| |
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.
|
 |
Tutorials |
 |
24 Oct 2001 |
|
| |
Develop Python/XML with 4Suite, Part 1: PyXml
Many XML-related technologies are no more than specifications for a standard way for information to be processed and interpreted. This is no different with the Document Object Model (DOM), which provides a standard way for users to access and manipulate an XML document. There are various DOM implementations, in varying computer languages. Here, we will be introducing Fourthought's PyXml. This particular implementation is written in Python.
|
 |
Tutorials |
 |
17 Oct 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 |
|
| |
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 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 |
|
| |
Tip: Converting from SAX
Brett McLaughlin explains how to use SAX to communicate with applications that require DOM and JDOM inputs. It's a useful technique: With the flurry of XML APIs available, developers now have to be able to easily move from one to another, and then on to another. The sample code provides a concrete example of converting from SAX to JDOM.
|
 |
Articles |
 |
01 Apr 2001 |
|
| |
Tip: Converting from JDOM
Learning to work with JDOM? Well, no API is an island, and in this tip you'll learn how to convert with ease from JDOM to SAX and DOM for fluent programming of XML applications that use all three APIs. The code samples provide examples of converting from JDOM to SAX and from JDOM to DOM.
|
 |
Articles |
 |
01 Apr 2001 |
|
| |
Tip: Converting from DOM
In this tip, you'll learn how to convert DOM structures to SAX and JDOM to allow communication with applications that do not use DOM. The code listings demonstrate how to convert from DOM to an output stream for use by SAX, and how to convert from DOM to JDOM.
|
 |
Articles |
 |
01 Apr 2001 |
|
| |
Tip: Moving DOM nodes
This tip takes a look at a common exception that occurs when you attempt to move DOM nodes. Here you'll learn the causes of this exception and, most important, how to avoid it when doing DOM programming. The code listings demonstrate how to move nodes from one document to another, what the code that generates the dreaded Wrong document exception looks like, and how to write correct code that doesn't present this problem. This tip assumes that you already know the basics about how to work with the DOM."
|
 |
Articles |
 |
01 Mar 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 |
|
| |
Sun's Java API for XML Parsing, Version 1.1
In this follow-up article on JAXP, Sun's Java API for XML Parsing, the author analyzes the newest version, 1.1, which includes updated support for the SAX and DOM standards. With the addition of TRaX, JAXP 1.1 provides Java and XML developers an indispensable tool in writing vendor-neutral code for parsing and transforming XML documents.
|
 |
Articles |
 |
01 Dec 2000 |
|
| |
XML Matters: On the 'Pythonic' treatment of XML documents as objects(II)
In the second installment of his new "XML Matters" column -- and as part of his ongoing quest to create a more seamless integration between XML and Python -- David Mertz presents the xml_objectify module. David describes how to use xml_objectify and the advantages of using this "Pythonic" module for working with XML documents as objects.
|
 |
Articles |
 |
01 Aug 2000 |
|
| |