 |
 |
 |
 |
 |
 |
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 |
|
| |
An XML-based information architecture for learning content, Part 2: A DITA content pilot
Find out how topic-based DITA XML can provide the basis for developing an information architecture for single-sourced XML learning content. Part 1 of this two-part series presented a set of extensions to DITA XML that provide the starting point for a unifying content model for learning. Here in Part 2, the authors test their assumptions against pilot content from a training course developed to support a component feature of IBM DB2 Query Monitor, and then report their findings and suggest important next steps.
|
 |
Articles |
 |
11 Aug 2005 |
|
| |
An XML-based information architecture for learning content, Part 1: A DITA specialization design
Can topic-based DITA XML provide the basis for developing an information architecture for single-sourced XML learning content? This article builds directly on the rich background about reusable content and e-learning delivery in the learning and training fields. Here in Part 1, the authors posit a set of extensions to DITA XML that provide the starting point for a unifying content model for learning. In Part 2, they test their assumptions against pilot content from a training course developed to support a component feature of IBM DB2 Query Monitor, and then report their findings and suggest important next steps.
|
 |
Articles |
 |
05 Aug 2005 |
|
| |
A certification primer for XML and related technologies
In the competitive world of software development, it's important to stand above the crowd. Thus there is a need for some standard for measuring how much one knows about XML. IBM offers its own certification program for XML and related technologies, and this article by Pradeep Chopra, cofounder of WHIZlabs Software, shows you some strategies for tackling this exam: Useful pointers, resources, and sample test questions can help get you started on the road to certification success!
|
 |
Articles |
 |
01 Mar 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 |
|
| |
Thinking XML: A glimpse into XML in the financial services industry
A recent conference on XML in the financial services industry was an occasion for sober reflection on XML in the real world. Is XML finding its way into practical solutions? What best practices are guiding the adoption of XML? In this column, Uche Ogbuji ponders XML through the prism of the financial services industry, and presents some of the more important XML standards relevant to that industry.
|
 |
Articles |
 |
20 Feb 2004 |
|
| |
A hands-on introduction to Schematron
Meet Schematron, a schema language that allows you to directly express rules without creating a whole grammatical infrastructure. Schematron is useful whenever you wish to apply and check against rules for the contents of XML documents. Schematron is extraordinarily flexible in the variety of rules you can express, and it's even more expressive than other schema languages such as DTD, W3C XML Schema (WXS) and RELAX NG. In this tutorial, author Uche Ogbuji uses detailed examples to illustrate Schematron's use, and offers recipes for common schema needs.
|
 |
Tutorials |
 |
02 Sep 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 |
|
| |
Managing XML data: A look ahead
Much has been written about how to process XML documents, including how to search them with XPath, transform them with XSLT, style them with CSS, and create them with DOM. But as XML becomes increasingly popular and begins to pervade your systems (whether you want it to or not), a larger problem arises: How do you manage collections of XML documents? When you've got thousands, tens of thousands, or even millions of XML documents to hunt through, how do you find what you're looking for? How do you organize, index, search, store, serve, cross-reference, update, and otherwise manage medium-to-large collections of XML data? This column will attempt to provide useful answers to these questions.
|
 |
Articles |
 |
11 Apr 2005 |
|
| |
Compound XML document profiles for rich content, Part 2: A pattern for developing compound XML document schemas
Build compound XML Schema profiles from core specification schemas. Part 1 of this two-part series explores several the extension capabilities of XML Schema and compares approaches in building Compound Document Format (CDF) profiles. This article defines a pattern for developing mixed-namespace profiles using XML Schema, based on the analysis in Part 1.
|
 |
Articles |
 |
20 Sep 2005 |
|
| |
Compound XML document profiles for rich content, Part 2: A pattern for developing compound XML document schemas
Build compound XML Schema profiles from core specification schemas. Part 1 of this two-part series explores several the extension capabilities of XML Schema and compares approaches in building Compound Document Format (CDF) profiles. This article defines a pattern for developing mixed-namespace profiles using XML Schema, based on the analysis in Part 1.
|
 |
Articles |
 |
21 Sep 2005 |
|
| |
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 in localisation: A practical analysis
Learn how XML standards help facilitate translation processes that involve many participants in different locations. This article focuses on the most common XML formats used in the localisation industry to show you how important XML is becoming in multilingual document exchange.
|
 |
Articles |
 |
20 Aug 2004 |
|
| |
SVG and XForms: A primer
Scalable Vector Graphics (SVG) and XForms are two blossoming technologies that handle what may appear to be two different facets of electronic document publishing. This primer provides an overview of the two technologies and highlights the potential synergies between them.
|
 |
Articles |
 |
18 Nov 2003 |
|
| |
XML and Java technology: A return to basics
Brett McLaughlin revisits some XML basics, from document structure to the age-old attributes versus elements issue. You'll relearn how to optimize your XML and ensure it's in tip-top shape.
|
 |
Articles |
 |
09 Oct 2007 |
|
| |
XML Matters: A roundup of editors
In this column David Mertz gives an up-to-date review of a half-dozen leading XML editors. He compares the strengths, weaknesses and capabilities of each -- especially for handling text-heavy prose documents. The column addresses the very practical question of just how one goes about creating, modifying, and maintaining prose-oriented XML documents.
|
 |
Articles |
 |
01 Jan 2001 |
|
| |
A simple SOAP client
This article describes a simple, general purpose SOAP client in Java that uses no specialized SOAP libraries. Instead of creating the SOAP request XML document for you under the hood, this client lets you create your own request with any XML editor (or text editor). Instead of merely giving you the remote method's return values, the client shows you the actual SOAP response XML document. The short Java program shows exactly what SOAP is all about: opening up an HTTP connection, sending the appropriate XML to invoke a remote method, and then reading the XML response returned by the server.
|
 |
Articles |
 |
01 May 2001 |
|
| |
The gentoo.org redesign, Part 1: A site reborn
Have you ever woken up one morning and suddenly realized that your cute little personal development Web site isn't really that great? If so, you're in good company. In this series, Daniel Robbins shares his experiences as he redesigns the www.gentoo.org Web site using technologies like XML, XSLT, and Python.
|
 |
Articles |
 |
01 Mar 2001 |
|
| |
The gentoo.org redesign, Part 3: A site reborn
Have you ever woken up one morning and suddenly realized that your cute little personal development Web site isn't really that great? If so, you're in good company. In this series, Daniel Robbins shares his experiences as he redesigns the www.gentoo.org Web site using technologies like XML, XSLT, and Python.
|
 |
Articles |
 |
01 Jul 2001 |
|
| |
AJAX and scripting Web services with E4X, Part 1
Get an introduction to ECMAScript for XML (E4X), a simple extension to JavaScript that makes XML scripting very simple. In this paper, the authors demonstrate a Web programming model called Asynchronous JavaScript and XML (AJAX) and show you how some new XML extensions to JavaScript can make it very simple.
|
 |
Articles |
 |
08 Apr 2005 |
|
| |
AJAX and scripting Web services with E4X, Part 2
Get a further introduction to E4X in the second part of this two-part article. E4X, ECMAScript for XML, a simple extension to JavaScript that makes XML scripting very simple. In Part 1, we demonstrated a Web programming model called AJAX, Asynchronous JavaScript and XML, and showed how some new XML extensions to JavaScript can make it very simple. In this second article, we use E4X to build the server side of this interaction, and we show how to implement simple Web services in JavaScript.
|
 |
Articles |
 |
19 Apr 2005 |
|
| |
Abolish XML namespaces?
Experience shows XML namespaces can be a common cause of confusion and a major complicating factor in XML adoption. In this article, the author argues that XML namespaces do not offer a good solution for the problems they aim to solve, and are not needed for the majority of XML use cases in the real world. His recommendation is to deprecate namespaces or significantly curtail their usage. For cases that require namespaces, developers should use best practices and conventions to restrict the syntactical freedoms offered by the specification such that namespaces present a consistent face that's easier to understand.
|
 |
Articles |
 |
18 Jul 2005 |
|
| |
Abstracting the interface
Using XML to describe parts of a Web app user interface can make it easy to convert the UI for multiple devices via XSL style sheets. The article describes using XML data and XSL style sheets to build the user interface of complex Web applications. A Web calendar sample application demonstrates the basic techniques and concepts. The article also includes more than two dozen code samples that you can easily extend for your specific requirements.
|
 |
Articles |
 |
01 Dec 2000 |
|
| |
Abstracting the interface, Part II
This article, a sequel to the author's December article on Web application front ends, describes extensions to the basic framework for XML data and XSL style sheets. It focuses on the back end this time, covering National Language Support (NLS), enhancements of the view structure, and performance issues. While the first article demonstrated the basic architecture for building Web applications using XML and XSLT, this article shows you how to make the applications ready to go online.
|
 |
Articles |
 |
01 Mar 2001 |
|
| |
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 |
|
| |
XForms tip: Accepting XForms data in PHP
In some ways, an XForms form is just like an HTML form; with the proper encoding, the server-side script receiving the data won't even know the difference. But the strength of XForms forms is in many ways the fact that the data can be submitted directly as XML. Of course, this capability doesn't do you any good unless the script is prepared to receive the data. In this tip, you will see how to create a PHP script that can receive and work with XML data submitted by an XForms form.
|
 |
Articles |
 |
26 Sep 2006 |
|
| |
XForms tip: Accepting XForms data in Perl
The Perl programming language is widely used on the Internet, and it will continue to be popular for quite some time. It's considered an easy language to program in because it handles strings very well. Also, what you can do in a few lines in Perl takes many more lines of code in other programming languages. In this tip, you'll learn how to submit an XForms form using POST to a Perl script, and capture the data for later use.
|
 |
Articles |
 |
03 Oct 2006 |
|
| |
Accessing IBM Tivoli Directory Server through Handheld Devices
This article focuses on creating generic client API's using KSOAP (i.e. SOAP implementation on handheld devices) which are portable with the IBM Tivoli DSML server using which the IBM Tivoli Directory Server can be accessed.
|
 |
Articles |
 |
20 May 2005 |
|
| |
Tip: Achieving vendor independence with SAX
While newer XML developers are learning to achieve vendor independence with JAXP, SAX veterans have been vendor neutral for years. This tip explains how to use SAX and a SAX helper class to achieve vendor independence in your SAX-based applications.
|
 |
Articles |
 |
01 Mar 2001 |
|
| |
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 |
|
| |
Add XML parsing to your J2ME applications
More and more enterprise and Java technology projects are making use of XML as a medium to store data in a portable fashion. But due to the increased processing power demanded by XML parsers, J2ME applications have largely been left out of this trend. Now, however, small-footprint XML parsers for the Java language are emerging that will allow MIDP programmers to take advantage of the power of XML. Soma Ghosh illustrates their potential with a sample application.
|
 |
Articles |
 |
16 Sep 2003 |
|
| |
Introduction to MVC programming with Agavi, Part 3: Add authentication and administrative functions with Agavi
Continue to build the Web Automobile Sales Platform by adding the ability to add, delete, and update the automobile records in Part 3 of a five-part series. You will also see how to separate user functions from administrative functions with authentication.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
Introduction to MVC programming with Agavi, Part 2: Add forms and database support with Agavi and Doctrine
Work with the scalable, open-source Agavi framework to create an input form, use Doctrine to auto-generate the data models for the project, and integrate these models into the Agavi project in Part 2 of this five-part series.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
Add interactivity to your SVG
Scalable Vector Graphics (SVG) is an XML-based language for drawing two-dimensional graphics. However, its capabilities are not restricted to simple static vector shapes. This article shows how you can add interactive elements to your SVG documents that respond to user input.
|
 |
Articles |
 |
27 Aug 2003 |
|
| |
Introduction to MVC programming with Agavi, Part 5: Add paging, file uploads, and custom input validators to your Agavi application
This is the final article in a five-part series written for the PHP developer interested in learning about an open-source, flexible, and scalable framework called Agavi. You'll learn to support file uploads, store user data in sessions, integrate third-party libraries and create custom input validators for your Agavi application.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
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 |
|
| |
Advanced XML validation
XSLT stylesheets are designed to transform XML documents. Coupled with Java extensions, stylesheets can also be a powerful complement to XML Schema when grammar-based validation cannot cover all the constraints required. In this article, Peter Heneback presents the case for validating documents using XSLT with Java extensions and provides practical guidance and code samples.
|
 |
Articles |
 |
09 May 2006 |
|
| |
Advanced XQuery: Creating custom functions
XQuery functions enable you to define common expressions once and reuse them frequently. The end result is tighter, more robust code that is easier to maintain. Using XQuery API for Java (XQJ), this tutorial demonstrates an implementation of XQuery functions within a Java environment.
|
 |
Tutorials |
 |
11 Nov 2008 |
|
| |
XML for Perl developers, Part 3: Advanced manipulating and writing techniques
This article, the third in a three-part series, uses the parsing techniques introduced in Part 2 to build tree structures that can be transformed, navigated, and written. You will then see how to feed transformed parse trees into SAX pipelines, further transform them, and write them as text or to SQL databases. Finally you will learn how to reverse this, using database content to drive SAX pipelines.
|
 |
Articles |
 |
13 Feb 2007 |
|
| |
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 |
|
| |
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 |
|
| |
Advancing with XQuery: Develop application idioms
The XQuery specification is well over a year old now. A surfeit of solid
implementations combined with (if developer chatter is anything to go by) marked new
interest, seems to indicate that XQuery is finally experiencing higher adoption rates.
Possibly this is due to developers starting to figure out how to utilize XQuery within
a rich mixture of XML technologies (such as XML databases. XSLT, XML Schema). Learn how to use XQuery beyond its original role as an XML query language and apply it toward the development of middleware and Web applications.
|
 |
Tutorials |
 |
30 Sep 2008 |
|
| |
Aggregate RSS and Atom information using XQuery
XQuery makes it much easier to merge and filter information from XML documents
when you embed the filtering instructions right into the document that you use to
generate the output format. You can use that functionality to aggregate information
from RSS and Atom feeds into the format you need. In this article, look at the
structure of the RSS and Atom formats and how XQuery can simplify the display of that information.
|
 |
Articles |
 |
05 Feb 2008 |
|
| |
Ajax RSS reader
Learn how to build an Asynchronous JavaScript and XML (Ajax) Really Simple Syndication (RSS) reader, as well as a Web component that you can place on any Web site to look at the articles in the RSS feeds.
|
 |
Articles |
 |
03 Apr 2007 |
|
| |
Ajax and XML: Ajax for chat
Learn to build a chat system into your Web application with Asynchronous
JavaScript + XML (Ajax) and PHP. Your customers can talk to you and to each other about
the content of the site without having to download or install any special instant-messaging software.
|
 |
Articles |
 |
04 Dec 2007 |
|
| |
Ajax and XML: Ajax for forms
Augmenting your HTML forms with Ajax callbacks to the server is a practical way to
add Web 2.0 functionality to your application. Discover a variety of techniques to add
Ajax code and enhance the user experience for PHP applications.
|
 |
Articles |
 |
22 Jan 2008 |
|
| |
Ajax and XML: Ajax for lightboxes
In a world where everything is designed to amaze and distract, it's awfully difficult
to get a user's attention. Learn how to use new techniques such as lightboxes, pop-ups,
windows, and fading messages with your Ajax tools to get your users' eyes on your content.
|
 |
Articles |
 |
25 Sep 2007 |
|
| |
Ajax and XML: Ajax for media
With the advent of widely available broadband, media, movies, images, and sound
drive the Web 2.0 revolution. Learn to combine media with technologies
such as PHP and Asynchronous JavaScript + XML (Ajax) to create a compelling experience
for your customers.
|
 |
Articles |
 |
23 Oct 2007 |
|
| |
Ajax and XML: Ajax for ratings and comments
In the age of the people-powered Web, allowing your readers to rate and
review content on your site is critical. Discover just how easy it is to add rating
and commenting features to a site with Ajax.
|
 |
Articles |
 |
24 Jul 2007 |
|
| |
Ajax and XML: Ajax for tables
One strong suit of Asynchronous JavaScript + XML (Ajax) is presenting data from the server to users in a dynamic fashion. Discover several techniques that use Ajax for dynamic data display using tables, tabs, and gliders.
|
 |
Articles |
 |
11 Mar 2008 |
|
| |
Crossing borders: Ajax on Rails
The hype for Ajax, a technique for making Web pages more interactive, is in overdrive. The Ruby on Rails framework is also flourishing, partly on the strength of its excellent Ajax integration. Find out what makes Ajax on Rails such a powerful combination.
|
 |
Articles |
 |
05 Dec 2006 |
|
| |
XML Matters: Ajax tradeoffs: The many flavors of XML
Ajax has become a familiar acronym for many Web developers these days, but it combines several very different techniques. One is the in-page manipulation of the DOM tree that was formerly known as Dynamic HTML. Another is the passing of data back and forth between the client and the server behind the scenes, without re-loading the page. The combination of these can make powerful Web applications which have many of the desirable features of desktop applications. The focus for now will be on just one group of related aspects: what format should the data exchange take?
|
 |
Articles |
 |
09 Jan 2007 |
|
| |
Ajax for Java developers: Ajax with Direct Web Remoting
Exciting as it is, adding Ajax functionality to your
applications can mean a lot of hard work. In this third article in the
Ajax for Java developers series, Philip McCarthy shows you how to
use Direct Web Remoting (DWR) to expose JavaBeans methods directly to your
JavaScript code and automate the heavy-lifting of Ajax.
|
 |
Articles |
 |
08 Nov 2005 |
|
| |
XForms tip: Alerts and message boxes
XForms is about collecting data, but it is also about improving the user experience. In some cases, you need to provide additional information to the user outside of the actual form. In traditional Web pages, you accomplish this through the use of alert boxes and pop-up windows. In addition to its help capabilities, XForms gives you a number of different options for providing additional information for the user. This tip explains alerts and message boxes, the difference between them, and how to use them.
|
 |
Articles |
 |
17 Oct 2006 |
|
| |
All about JAXP, Part 1
The Java API for XML Processing (JAXP) lets you validate, parse, and transform XML using several different APIs. JAXP provides both ease of use and vendor neutrality. This article, the first of a two-part series introducing JAXP, shows you how to take advantage of the API's parsing and validation features. Part 2 will cover XSL transformations using JAXP.
|
 |
Articles |
 |
17 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 |
|
| |
Tip: Always use an XML declaration
The XML declaration is optional in XML files, and defaults determine most of the information in the file. However, problems are common when these defaults do not match reality -- for example, the document could use an encoding other than one of the defaults. It's always safer to make the XML declaration. In this tip, Uche Ogbuji covers what should be included in the XML declaration on all files.
|
 |
Articles |
 |
05 Jun 2007 |
|
| |
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 |
|
| |
An early look at sXBL
SVG's XML Binding Language -- sXBL -- is an XML vocabulary being developed at the W3C as a means of mapping XML elements in arbitrary vocabularies to Scalable Vector Graphics (SVG) pictures that represent those elements. For example, an XML Metadata Interchange (XMI) document can be turned into SVG code that shows the actual Unified Modeling Language (UML) diagram encoded in the XMI document. But sXBL takes the separation of presentation from content one step further: It is a generic language for rendering documents as arbitrarily complex two-dimensional pictures. This article offers an overview of this emerging and potentially powerful technology.
|
 |
Articles |
 |
25 Jan 2005 |
|
| |
Programming XML and Web services in TCL, Part 1: An initial primer
Tcl and XML make good partners. Tcl boasts several strengths for standalone XML processing. Moreover, in this article XML is presented as the initial building block in a series that describes the capacity for Tcl in Web services work.
|
 |
Articles |
 |
01 Apr 2001 |
|
| |
An introduction to RSS news feeds
RDF Site Summary (RSS) is catching on as one of the most widely used XML formats on the Web. Find out how to create and use RSS files and learn what they can do for you. See why companies like Netscape, Userland, and Moreover use RSS to distribute and syndicate article summaries and headlines. This article includes sample code that demonstrates elements of an RSS file, plus a Perl example using the module XML::RSS.
|
 |
Articles |
 |
13 May 2009 |
|
| |
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 Schema 1.1, Part 2: An introduction to XML Schema 1.1
In this second of a six-part series of articles, take an in-depth look at the co-constraint
mechanisms introduced by XML Schema 1.1, specifically the new assertions and type
alternatives features with authors Neil Delima, Sandy Gao,
Michael Glavassevich, and Khaled Noaman.
|
 |
Articles |
 |
13 Jan 2009 |
|
| |
XML Schema 1.1, Part 1: An introduction to XML Schema 1.1
With XML Schema's wide adoption and diversity of usage, schema users have
requested many improvements and new capabilities. The W3C XML Schema working group has developed XML Schema 1.1 to address these most commonly requested features including several which address shortcomings of XML Schema 1.0. In this first of a multi-part series of articles, authors Neil Delima, Sandy Gao, Michael Glavassevich, and Khaled Noaman introduce XML Schema 1.1 with an overview of the features introduced in this emerging standard and take an in-depth look at the additions and changes to the datatypes portion of the specification.
|
 |
Articles |
 |
08 Dec 2008 |
|
| |
XML Schema 1.1, Part 3: An introduction to XML Schema 1.1
A frequent goal of schema authors is to build schemas for extensibility, where wildcards play a key role in providing extensibility points. New wildcard features introduced in XML Schema 1.1 make it easier for schema authors to write extensible schemas that can tolerate changes in the future. In this third of a six part series of articles, authors Neil Delima, Sandy Gao, Michael Glavassevich, and Khaled Noaman take an in depth look at versioning features introduced by XML Schema 1.1, specifically the new powerful wildcard mechanisms and open content.
|
 |
Articles |
 |
20 Nov 2009 |
|
| |
An introduction to XML User Interface Language (XUL) development
XUL is a tried and true application framework. In fact, the recently released Firefox 3.0 is not only built using XUL, but provides a XUL runtime environment that enables any Firefox user to run other XUL applications. In this tutorial, you start to program in XUL and learn about some tools to help you develop XUL apps. Build a XUL-based blog editor as you enhance your Web development skills to build desktop apps with XUL.
|
 |
Tutorials |
 |
04 Nov 2008 |
|
| |
An introduction to XQuery
Howard Katz introduces the W3C's XQuery specification.
|
 |
Articles |
 |
06 Jan 2006 |
|
| |
DB2 Basics: An introduction to the SQL/XML publishing functions
You can use the SQL/XML publishing functions to produce a tagged XML document from relational data. DB2 Universal Database includes built-in SQL/XML publishing functions that make it easy to publish XML documents using data that is stored in a DB2 database. This article introduces you to the SQL/XML publishing functions, and shows you, by way of working examples, how to use these functions.
|
 |
Articles |
 |
03 Nov 2005 |
|
| |
An overview of the Atom 1.0 Syndication Format
Get a technical overview of the popular Atom Syndication Format. This article discusses Atom's technical strengths relative to other syndication formats, and offers several compelling use case examples that illustrate those strengths.
|
 |
Articles |
 |
02 Aug 2005 |
|
| |
Thinking XML: Analyze financial reporting using XBRL
Thanks to recent events, the world turns its eyes to Wall Street. One of the hot topics is how to increase the transparency of descriptions of business activity and financial results. The financial sector and the SEC have long approached this problem with XBRL, an XML language for business reports. XBRL uses a variety of XML technologies, including XLink to provide rich detail for financial information. Learn to interpret and analyze financial report information in XBRL, using an actual U.S. Securities and Exchange Commission report as an example.
|
 |
Articles |
 |
06 Jan 2009 |
|
| |
Analyze with XSLT: Analyze non-XML data with XSLT
This tutorial explores how to create string parsing routines in XSLT so that you can tokenize straight, non-XML text, thus turning that text into a series of XML elements. Specifically, this tutorial examines how to convert such documents as weblogs and Web configuration files into XML for improved readability and programmatic access.
|
 |
Tutorials |
 |
16 Dec 2003 |
|
| |
Analyzing XML schemas with the Schema Infoset Model
As the use of schemas grows, the need for tools to manipulate schemas grows. The new Schema Infoset Model provides a complete modeling of schemas themselves, including the concrete representations as well as the abstract relationships within a schema or a set of schemas. This article will show some of the power of this library to easily query the model of a schema for detailed information about it; we could also update the schema to fix any problems found and write the schema back out.
|
 |
Articles |
 |
01 Jun 2002 |
|
| |
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 |
|
| |
Application integration using XML on z/OS and OS/390
Application integration is the magic mantra we've been hearing for quite a while. It's not an easy problem to solve. Applications designed at different times are not easy to link together, and eventually the linking glue code itself becomes a handicap to further integration. While XML is not a silver bullet that can solve all application integration problems, it can help simplify some of the associated issues. Although some of this article is very specific to OS/390 and z/OS, you'll find that much of the information is valid for many other platforms.
|
 |
Articles |
 |
01 Jun 2001 |
|
| |
Application logging using solidDB, WebSphere Message Broker, and DB2
pureXML
Because of its flexibility and its presence in many application
environments, XML is becoming the preferred log format. In this article,
you'll learn how to easily set up an application logging environment by
bringing the XML features of WebSphere and DB2 together. We first introduce a
simple application logging scenario, then show how to use solidDB for caching
and decoupling the application from the logging infrastructure. WebSphere
Message Queue and WebSphere Message Broker will be used to reliably move the
log messages from the application to DB2, where they can be stored and queried
using the pureXML functionality. To normalize different message formats,
WebSphere Message Broker will also be used to transform log files to other XML
formats prior to storing them into DB2.
|
 |
Tutorial |
 |
07 May 2009 |
|
| |
Apply Schematron constraints to XForms documents automatically
Learn how to use Schematron to apply constraints to a standards-compliant form above and beyond those provided by XML Schema. The freely available XML Forms Generator allows you to do this automatically as it generates an XForms document.
|
 |
Articles |
 |
27 Jun 2006 |
|
| |
Tip: Apply profile links to microformats
Microformats are a popular way to incorporate structured data into regular Web pages. Unfortunately, using microformats without some measure of control can lead to confusion and technical problems. Learn how formal profile declarations in your documents can improve the value of your microformats.
|
 |
Articles |
 |
26 Jun 2007 |
|
| |
XML and Related Technologies certification prep, Part 1: Architecture
A software system's architecture and performance requirements affect your decision of which XML technologies are most appropriate for your application's needs. This tutorial on architecture teaches you how to discern where and when to use XML in system design. It is the first tutorial in a series of five tutorials that you can use to help prepare for the IBM certification Test 142, XML and Related Technologies.
|
 |
Tutorials |
 |
29 Aug 2006 |
|
| |
Optional XML in relational databases, Part 1: Are null values needed?
Optional XML elements -- for example, online forms -- are
special in that they might or might not appear in XML files. Representing such optional
elements is a challenge both in programming languages and in databases. In many cases,
null values are inserted in databases to represent empty optional elements, but null
database XML values can be difficult to retrieve. Discover alternative, less-invasive approaches
to handling optional XML elements without the need for data overloading or inserting null or
other sentinel values.
|
 |
Articles |
 |
07 Jul 2009 |
|
| |
Web services programming tips and tricks: Array gotcha -- null array vs. empty array
Some programs depend on a distinction between a null array and an empty array. What is often used to represent arrays in XML schemas does not have any such distinction. Is there anything you can do to get around this feature of XML? This article will show you.
|
 |
Articles |
 |
06 Jan 2004 |
|
| |
As easy as X+V
Everyone in the industry is hyping multimodal applications as the next cool way to build applications -- why limit users to a single input/output modality when they can use several at one time? X+V simplifies multimodal application development. This article takes you through the steps necessary to build a simple, but useful, multimodal application.
|
 |
Articles |
 |
08 Jul 2005 |
|
| |
Tip: Asynchronous SAX
Over asynchronous channels -- such as a socket that produces data over a long duration -- SAX is a wonderfully lightweight programming technique for parsing incoming messages.
|
 |
Articles |
 |
14 May 2003 |
|
| |
Tip: Attributes in ContentHandler
The one aspect of data processing with ContentHandler that the author didn't cover in his last tip was attribute processing. While attributes are most commonly used for information transfer between an XML document and an XML processor, they also often contain valuable business data. In this tip, Brett shows you how SAX handles elements and reports those elements, as well as how you can use code to extract element data.
|
 |
Articles |
 |
21 Aug 2003 |
|
| |
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 |
|
| |
Authoring with the developerWorks XML templates
Welcome, authors! This article shows you how to prepare English-language
technical articles and tutorials for publication on the worldwide
developerWorks site. The steps are simple. You download our XML-based template
for articles or for tutorials, fill in the template using any validating XML
editor or your preferred Microsoft Windows or Linux text editor, check it to
ensure it follows the tagging structure as defined in the developerWorks
schema, and preview your article or tutorial. Tips for composing your content
and submitting it to the developerWorks staff are also included.
|
 |
Articles |
 |
21 Mar 2009 |
|
| |
Automate acceptance tests with Selenium
Acceptance, or functional, testing is designed to put manual tasks through their paces, but testing these tasks by hand can be time consuming and prone to human error. In this article, the author shows architects, developers, and testers how to use the Selenium testing tools to automate acceptance tests; automating the tests saves times and helps eliminate tester mistakes. You also are provided with an example of how to apply Selenium in a real-world project using Ruby on Rails and Ajax.
|
 |
Articles |
 |
20 Dec 2005 |
|
| |
Automate your team's build and unit-testing process
Extreme programming and agile methods recommend that the development process include continuous integration and unit testing. A pragmatic way to support these practices is to set up an automated system to build and test the latest version of your source code every time it changes. This article guides you through the practical issues involved in setting up your own Linux-based build server for Java projects.
|
 |
Articles |
 |
11 Oct 2005 |
|
| |
Automatically generate project builds using Ant
Get step-by-step instructions to automate your build procedure to improve productivity and quality using the built-in support of Ant for the IBM Rational Software Development (SDP) platform. You can then deploy it using the IBM WebSphere family of application servers.
|
 |
Articles |
 |
30 Jan 2007 |
|
| |
Avoid common XSLT mistakes
Inexperienced XML and XSLT developers often exhibit bad habits that can cause critical flaws in XSLT code. In this article, get a feel for the typical problems that come up in stylesheets and how to remedy them.
|
 |
Articles |
 |
19 Dec 2008 |
|
| |
Avoid the dangers of XPath injection
With the proliferation of simple XML APIs, Web services, and Rich Internet Applications (RIAs), more organizations have adopted XML as a data format for everything from configuration files to remote procedure calls. Some people have even used XML documents instead of more traditional flat files or relational databases, but like any other application or technology that allows outside user submission of data, XML applications can be susceptible to code injection attacks, specifically XPath injection attacks.
|
 |
Articles |
 |
17 Jul 2007 |
|
| |
Thinking XML: Basic XML and RDF techniques for knowledge management, Part 1
Columnist Uche Ogbuji begins his practical exploration of knowledge management with XML by illustrating techniques for populating Resource Description Framework (RDF) models with data from existing XML formats. As shown in the three code listings, RDF can be used as a companion to customized XML, not just as a canonical representation for certain types of data. This column, with code samples included, demonstrates how easy it can be to jump-start knowledge management with RDF even relatively late in the development game.
|
 |
Articles |
 |
01 Jul 2001 |
|
| |
Thinking XML: Basic XML and RDF techniques for knowledge management, Part 2
This Thinking XML column shows how to combine metadata collected from multiple XML source documents into a single Resource Description Framework (RDF) model for effective querying. In this follow-up to his previous installment that introduced how to use XML and RDF together for knowledge management, columnist Uche Ogbuji builds on the techniques for populating RDF models with data from existing XML formats. The centerpiece of this discussion is an example in which a Web-based issue tracker, originally developed to manipulate application data in XML, is extended to take advantage of RDF. Sample code listings in XSLT and Python demonstrate two methods of aggregating metadata from XML files into a single RDF model (one using XSLT and the other using RDF), and examples of simple RDF queries.
|
 |
Articles |
 |
01 Sep 2001 |
|
| |
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 |
|
| |
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 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 |
|
| |
Thinking XML: Basic XML and RDF techniques for knowledge management, Part 6
Uche Ogbuji moves on to a discussion of a far more sophisticated RDF query language than the primitive API he has discussed thus far. This is the foundation for establishing the middleware for the Issue Tracker article in coming installments.
|
 |
Articles |
 |
10 Apr 2002 |
|
| |
Thinking XML: Basic XML and RDF techniques for knowledge management, Part 7
Uche Ogbuji takes a moment to review in a broader context the relevance of the XML/RDF techniques he has been presenting. He discusses the importance of XML/RDF interchange, of specialized RDF query, and of applying lessons from RDF modeling to overall application development. He also shows how this thread of the Thinking XML column relates to the parallel thread on developments toward semantic transparency.
|
 |
Articles |
 |
01 Jul 2002 |
|
| |
XML in Firefox 1.5, Part 2: Basic XML processing
This second article in the series, "XML in Firefox 1.5," focuses on basic XML processing. Firefox supports XML parsing, Cascading Stylesheets (CSS), and XSLT stylesheets. You also want to be aware of some limitations. In the first article of this series, "XML in Firefox 1.5, Part 1: Overview of XML features," Uche Ogbuji looked briefly at the different XML-related facilities in Firefox.
|
 |
Articles |
 |
21 Mar 2006 |
|
| |
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 |
|
| |