 |
 |
 |
 |
 |
 |
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 |
|
| |
New to XML
Need help getting started with XML? The XML zone on developerWorks contains articles, tutorials, and tips to help developers with XML-based development. For users trying to find their way in a new topic, all of that information can be overwhelming. This page provides an overview for readers who want to learn about XML, but don't know where to start. This page helps you get organized and on your way -- whether you want to understand what XML is all about, explore Ajax, mashups or RSS, or prepare for XML certification.
|
 |
|
 |
19 Nov 2009 |
|
| |
Training
Start here to find the tutorials, courses, and certification guides you need to stay up-to-date with XML technology and to keep your skills top notch.
|
 |
|
 |
19 Nov 2009 |
|
| |
Index of XML standards
The world of XML is vast and growing, with a huge variety of standards and technologies that interact in complex ways. It can be difficult for beginners to navigate the most important aspects of XML, and for users to keep track of new entries and changes in the space. XML is a basic syntax upon which you develop local and global vocabularies. This index provides a detailed cross-reference of many XML standards, including links to additional coverage for each.
|
 |
|
 |
19 Nov 2009 |
|
| |
Build a Support Knowledge Base using DB2 pureXML and PHP
Creating applications that use a hybrid of relational data and XML data is easy thanks to
the pureXML feature of IBM DB2 database servers.
In this tutorial, you use PHP to create a Web application that connects to an IBM DB2 Express-C
database and stores some of its data in traditional relational database columns, and some of it in native XML columns.
You also learn how to use SQL/XML queries to retrieve, insert, update, and delete data from this database.
Beyond the hands-on, project-based training, the tutorial equips you with the skills
and conceptual knowledge you need to develop your own hybrid applications.
|
 |
Tutorial |
 |
19 Nov 2009 |
|
| |
Building OSGi applications with the Blueprint Container specification
The OSGi framework is becoming increasingly popular. It provides great mechanisms for developing modular and dynamic applications.
The recent OSGi Service Platform Release 4 V4.2 specifications
introduced the Blueprint Container specification. In this article, learn
how the Blueprint Container provides a simple programming model for creating
dynamic applications in the OSGi environment. Numerous examples help get you started with the Blueprint XML file
and the component XML definitions.
|
 |
Articles |
 |
17 Nov 2009 |
|
| |
Validating XML in PHP
PHP developers commonly require the services of an Extensible Markup Language (XML) parser in their code. Along these lines, they frequently find it necessary to validate XML input. Fortunately, you can easily accomplish this in PHP. This article shows you how to validate XML documents within PHP and determine the cause of validation failures.
|
 |
Articles |
 |
10 Nov 2009 |
|
| |
Build a pureXML and JSON application, Part 2: Create Universal Services for pureXML that expose JSON
The pureXML Universal Services for JSON (abbreviated to JSON Universal Services in this article) are a set of database operations, including insert, update, delete, and query, exposed as Web services. These services enable an application to persist JSON in pureXML and to query it easily through HTTP with WebSphere Application Server. Get started with configuring and testing JSON Universal Services in this article.
|
 |
Articles |
 |
10 Nov 2009 |
|
| |
Build a pureXML and JSON application, Part 1: Store and query JSON with DB2 pureXML
JavaScript Object Notation (JSON), a popular textual notation in Web 2.0, is used to represent objects (or data structures) as serialized text when clients and servers exchange information. Some applications benefit from persisting JSON objects to maintain state across sessions. In this article, learn how DB2 pureXML can store, manage, and query JSON when you adopt a simple JSON-to-XML mapping.
|
 |
Articles |
 |
10 Nov 2009 |
|
| |
Build a pureXML and JSON application, Part 3: Create OpenSocial gadgets for pureXML
With the Web 2.0 technology of OpenSocial gadgets, developers can easily
include their applications in popular Web sites, such as iGoogle, MySpace, Hi5,
LinkedIn, and others. In this article, explore OpenSocial gadgets through hands-on construction of an application that leverages the pureXML
capability of DB2. This article is the last in a series of three that illustrates how to build a
pureXML application whose user interface is a gadget that you can deploy in any OpenSocial compliant
Web site. Follow the steps in this article to build a user interface that stores and retrieves the
JSON data described in the first article through JSON Universal Services created in the second article.
|
 |
Articles |
 |
10 Nov 2009 |
|
| |
Leveraging pureXML in a Flex microblogging application, Part 3: Using pureXML Web services to publish microblog entries to an HTML page
The pureXML capabilities of IBM DB2 allow you to store XML natively in a database
without modification, while Adobe Flex applications can read XML directly and
populate Flex user interfaces. In this three-part article series, you will create
a microblogging application that takes advantage of pureXML, Web services, and
Adobe Flex; and even allows you to publish your microblogging updates on Twitter.
In Part 1 of the series, you learned about Web Services and how they are enabled
using DB2 pureXML as you created the microblog database and tested it. Part 2
tapped into Adobe Flex and ActionScript to create the user interface of your application. In this article, the final part of the series, you will learn how to use your pureXML Web Services to publish your microblog entries to an HTML page.
|
 |
Articles |
 |
03 Nov 2009 |
|
| |
Leveraging pureXML in a Flex microblogging application, Part 1: Enabling Web services with DB2 pureXML
The pureXML capabilities of IBM DB2 allow you to store XML natively in a database without modification, while Adobe Flex applications can read XML directly and populate Flex user interfaces. In this three-part article series, you will create a microblogging application that takes advantage of pureXML, Web services, and Adobe Flex; and even allows you to publish your microblogging updates on Twitter.
|
 |
Articles |
 |
03 Nov 2009 |
|
| |
Building XQuery-powered applications with PHP and Zorba
Zorba is an open-source, robust, and standards-compliant XQuery processor. The Zorba extension in PHP provides an API to Zorba functions from within PHP, and thereby allows developers to add sophisticated XQuery processing to their PHP/XML applications. Examine the Zorba PHP API in detail, and how to use it for a variety of purposes.
|
 |
Articles |
 |
03 Nov 2009 |
|
| |
Leveraging pureXML in a Flex microblogging application, Part 2: Building the application user interface with Flex
The pureXML capabilities of IBM DB2 allow you to store XML natively in a database
without modification, while Adobe Flex applications can read XML directly and
populate Flex user interfaces. In this three-part article series, you will create
a microblogging application that takes advantage of pureXML, Web services, and
Adobe Flex; and even allows you to publish your microblogging updates on Twitter.
In Part 1 of the series, you learned about Web Services and how they are enabled
using DB2 pureXML as you created the microblog database and tested it. In this
article, Part 2 of the series, you will tap into Adobe Flex and ActionScript to
create the user interface of the application.
|
 |
Articles |
 |
03 Nov 2009 |
|
| |
Introduction to MVC Programming with Agavi, Part 1: Open a whole new world with Agavi
This is the first of a five-part series of articles written for the PHP developer interested in learning about an open-source, flexible, and scalable framework called Agavi. In this first article, you walk through the installation of the framework and the other required components, get an overview of Agavi and its functions, and create your first Web application.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
Implement access control with Agavi
Agavi is an open-source, flexible, and scalable framework for application development. One of its key features is a full-featured API for user authentication and role-based access control. Examine this API in detail, and see how to add sophisticated application-level privilege management and manipulation to a Web application.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
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 4: Create an Agavi search engine with multiple output types including XML, RSS, or SOAP
Implement a simple search engine and add support for multiple output types such as XML, RSS, or SOAP for your sample Agavi program in Part 4. This five-part series is for the PHP developer interested in Agavi, a open-source, flexible, and scalable framework.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
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 |
|
| |
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 |
|
| |
Meet the Object/XML mapping support in Spring
Within the Java Platform, Enterprise Edition (Java EE) community, Spring is becoming a widely accepted framework. One new feature in the latest release of Spring is its Object/XML (O/X) mapping support. The API enables developers to convert Java objects into XML and vice versa. In this article, learn to use the Object/XML mapping in Spring and explore its advantages.
|
 |
Articles |
 |
20 Oct 2009 |
|
| |
Using Apache Pivot to build an iTunes search client
Apache Pivot is an open source platform for building rich internet applications (RIAs) in a Java environment. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform. Apache Pivot applications take advantage of WTKX, an XML-based language for user interface design, which makes the application's output easy to visualize. In this tutorial, you will follow the implementation of a simple but practical Pivot application that allows a user to execute searches against the contents of the iTunes Store.
|
 |
Tutorial |
 |
13 Oct 2009 |
|
| |
Using collaborative technologies for healthcare in the home
The number of people in the U.S. diagnosed with diabetes is now
reaching 24 million. Diabetes requires monitoring. In this article, get an
introduction to the concept of continuing care, particularly in the home. This
article describes how diabetes monitoring can be improved through
collaborative technologies. See how software from MyCareTeam, IBM, and other
organizations are used in an example in support of diabetes monitoring.
Understand information and Web-based technologies, such as XML storage and
services (for example, through IBM DB2 pureXML) in the
context of continuing care, as well as related initiatives, such as the
Continua Health Alliance's role in selecting appropriate standards. This
article summarizes the impact of these technologies on the building of agile
and collaborative systems for healthcare, and highlights the significant
benefits of collaborative continuing care that include cost reduction and
increased quality of healthcare.
|
 |
Articles |
 |
08 Oct 2009 |
|
| |
Spread the word: Enterprise blogging, MetaWeblog, and XML-RPC
Today's blogs are used for much more than the traditional personal journal: They
have matured to become an ideal Web publishing platform. Within the enterprise, blogs are often a central conduit for corporate, development, and marketing communications, which makes selecting open blogging software that conforms to standard XML APIs essential. Discover one such too -- MetaWeblog, a widely used blogging API -- and learn how to use its API to write your own blogging tools.
|
 |
Articles |
 |
06 Oct 2009 |
|
| |
Tip: Data scoring: Convert data with XQuery
The process of converting data is one of migrating information from an unsuitable source or format to a suitable one -- often not an exact science. Data scoring is a way to measure the accuracy of your conversion. Discover a simple scoring technique in XQuery that you can apply to the result of a small text-to-XML conversion.
|
 |
Articles |
 |
29 Sep 2009 |
|
| |
Monitor home energy with AMEE
Electricity is invisible. To understand how people use it, you need to make it visible. This tutorial will show you how easy it is to build a Web-based energy monitoring system yourself, using a Current Cost real-time energy monitor and AMEE, a neutral Web-based API for energy data, combined with some XML, Ruby, Rails, and Ajax.
|
 |
Tutorial |
 |
29 Sep 2009 |
|
| |
Trace the growth of XML over 10 years
XML was born in 1998 when it became a Worldwide Web Consortium (W3C)
recommendation and the IBM developerWorks Web site was launched the following year. Over those 10 years, the XML zone has hosted over a thousand articles, tutorials, and tips. We've covered technology, tools, standards, products, best practices, predictions, evaluations, and developer experiences, and have supported a variety of forums. A 10-year birthday is a good time to look back at some of the authors who made the XML zone what it is.
|
 |
Articles |
 |
28 Sep 2009 |
|
| |
Meet CAM: A new XML validation technology
XML documents are frequently validated against either a DTD (less likely) or an XML schema (more likely). Recently, a new technology called Content Assembly Mechanism (CAM) has emerged. It is endorsed by the Organization for the Advancement of Structured Information Standards (OASIS). CAM represents a step up from XML schema because it provides even more flexibility in defining both the semantics of an XML document and the business rules associated with the actual data content. Take a broad overview of CAM, including its benefits over the alternatives, in this article.
|
 |
Articles |
 |
22 Sep 2009 |
|
| |
Integrate your PHP application with Google Contacts
The Google Contacts Data API provides a powerful, client-neutral API to read and modify a user's private Gmail contact information. Learn to retrieve, add, delete, and modify contacts through a custom PHP application with this API in an application context.
|
 |
Articles |
 |
22 Sep 2009 |
|
| |
Meet the Extensible Messaging and Presence Protocol (XMPP)
XMPP is a open protocol for XML-based communication over the Internet.
Although it is most popular as an instant-messaging protocol, you can use it as a general
messaging service, as well. Discover the ins and outs of XMPP, and learn how to use it for
simple messaging.
|
 |
Articles |
 |
18 Sep 2009 |
|
| |
Enforce basic document structure with XML constraint checking
The ability to specify, check and act upon constraints is vital to
ensuring the overall quality of healthcare information. The Health Level 7
(HL7) Clinical Document Architecture (CDA), described through XML Schema,
allows the specification of constraints through HL7 Templates, which can be
implemented in Schematron. Schematron can be applied through XSLT. This article illustrates software and
hardware solutions for constraint checking in the HL7 CDA. The two
solutions are demonstrated in an SOA that
includes both successful and failing XML Schema and Schematron constraint
checks. The article evaluates the application of constraints in the HL7 CDA
and identifies some categories of constraints that require further investigation.
The outcome of this evaluation shows that the ability to specify, check, and act
upon constraints through Schematron complements XML Schema processing. The two
constraint approaches are very useful and practical, and should therefore be
pursued further.
|
 |
Articles |
 |
15 Sep 2009 |
|
| |
Using the Technorati API
Technorati is a blog cataloging service that enables users to search virtually the entire blogosphere for articles of interest. Like most entries in the Web 2.0 domain, Technorati provides an API to automate much of its functionality. Also like most entries in the Web 2.0 domain, that API is provided as a REST service. In this article, work with examples and learn to get the most out of the Technorati API.
|
 |
Articles |
 |
08 Sep 2009 |
|
| |
IBM InfoSphere DataStage and DB2 pureXML, Part 2: Building an XML-enabled data warehouse
Learn how to integrate business-critical XML data into your data warehouse using IBM InfoSphere DataStage 8.1 and DB2 9.5 pureXML.
This two-part article series provides step-by-step instructions for using pureXML as both
a source and target data source for InfoSphere DataStage jobs.
|
 |
Articles |
 |
03 Sep 2009 |
|
| |
Explore multithreaded programming in XUL
As you create cross-platform desktop applications using XUL, you also can
enhance your skills with JavaScript, CSS, and even HTML. XUL's cross-platform
capabilities are not a collection of least common denominator features. Instead,
XUL gives you the kind of power that you might expect from a desktop application
toolkit, including access to native threads. You can even access native threads
directly from JavaScript, writing code that executes in parallel. In this article,
you will examine the multithreading capabilities of XUL, and create an application
that uses multiple threads to retrieve data. You will take a classic IO-bound
application, one that accesses multiple remote data sources over the Internet, and
speed it up through multiple threads in XUL. The application will allow users to
view and compare anonymous results of three popular search engines: Google,
Yahoo, and Bing from Microsoft(R).
|
 |
Articles |
 |
01 Sep 2009 |
|
| |
Generate PDFs with XStream and XSL-FO
Discover how to leverage XML serialization and XSL-FO to generate dynamic PDF
documents from Java(TM) business objects. Through XSL-FO stylesheets, you can separate the
presentation (view) of data from the data and Java code, allowing for modifications to PDF
format and layout without changes to the Java code.
|
 |
Articles |
 |
01 Sep 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 |
|
| |
New options for XML data integrity and validation in DB2 V9.5
DB2 introduced pureXML technology in Version 9. This technology allows you to store XML data in its native
form, maintaining the hierarchical structure and permitting you to query it using SQL/XML and XQuery. Just as with relational data, the ability to
ensure the integrity of XML data stored in DB2 is mandatory. The methods and mechanisms for ensuring the integrity of XML data, however, are a bit
different than the methods for traditional relational data integrity.
In this article, you'll learn about XML data integrity in the context of DB2, and explore the various options you have to guarantee integrity in
different scenarios.
|
 |
Articles |
 |
27 Aug 2009 |
|
| |
Introduction to AMEE
Today, there is a great deal of interest in energy, and its less-desirable
environmental shadow, carbon dioxide. To create a more sustainable world,
individuals, companies, and governments are focusing attention on energy and how
we use it. The route to understanding our usage of energy (and therefore carbon)
is to measure and analyze it, to understand the results, and then act on that
information. AMEE is a neutral aggregation platform for all forms of energy and
activity data, and associated carbon models. In this article, you learn how to use the AMEE platform in your applications to deliver a high quality energy management and carbon calculation solution to your clients.
|
 |
Articles |
 |
24 Aug 2009 |
|
| |
IBM InfoSphere DataStage and DB2 pureXML, Part 1: Integrate XML operational data into a data warehouse
Learn how to integrate business-critical XML data into your data
warehouse using IBM InfoSphere DataStage 8.1 and DB2 9.5 pureXML. This
two-part article series provides step-by-step instructions for using pureXML
as both a source and target data source for InfoSphere DataStage
jobs.
|
 |
Articles |
 |
20 Aug 2009 |
|
| |
Text processing with Ruby
Ruby is a feature-rich, free, simple, extensible, portable, and object-oriented scripting language. As a powerful text processing language, it has immense capability. With powerful built-in libraries and a set of external libraries, Ruby is a viable option for a solution to any mundane text processing task that you might encounter.
|
 |
Articles |
 |
18 Aug 2009 |
|
| |
Explore analytics in the cloud with Zoho Reports and XML
Cloud analytics allow developers to add many of the features of traditional business intelligence solutions without the overhead. Discover how to leverage the power of cloud analytics using Zoho Reports, the Zoho API, and XML to add analytical capabilities to any application -- either in the cloud or local.
|
 |
Articles |
 |
04 Aug 2009 |
|
| |
Using the Twitter Search API
Twitter is undoubtedly one of the most recent and successful examples of social networking to appear on the World Wide Web. Twitter also has its own search engine, which enables users to search for "tweets" by keyword or category, with an API to facilitate programmatic searches, act as a REST service, and return searches in Atom format. Discover the basics of using the Twitter Search API.
|
 |
Articles |
 |
04 Aug 2009 |
|
| |
Exploit XML indexes for XML query performance in DB2 9
DB2(R) 9 provides pureXML storage and offers XQuery and
SQL/XML as query languages. XML indexes are essential for high query
performance, but their usage for query evaluation depends on how query
predicates are formulated. This article presents a set of guidelines for
writing XML queries and creating XML indexes in a consistent manner so that
indexes speed up your queries as expected. Also learn what to look for in XML
query execution plans to detect performance issues, and find out how to fix
them. A downloadable "cheat sheet" summarizes the most important guidelines.
This article has been updated for DB2 9.5 and 9.7. [2009 Jul 30: This article has been updated for DB2 9.5 and 9.7, including
additional SQL/XML sample queries.--Ed.]
|
 |
Articles |
 |
29 Jul 2009 |
|
| |
Creating an Atom feed in PHP
Atom is an Extensible Markup Language (XML) specification that identifies information contained in a Web site. Using Atom, Web developers produce feeds that enable other Web developers (or consumers who use feed readers) to quickly locate and view information of interest on a remote site. Think of it as a Web site's index, available to anyone who wants it. Using PHP, a popular language of choice for most host providers, a Web developer can easily produce an Atom feed that can then be made available to the various feed readers and other Web developers. The ultimate result is a state-of-the-art information solution that enables the Web content to reach a much wider audience.
|
 |
Articles |
 |
28 Jul 2009 |
|
| |
Mashups: The new breed of Web app
Mashups are an exciting genre of interactive Web applications that draw upon content retrieved from external data sources to create entirely new and innovative services. They are a hallmark of the second generation of Web applications informally known as Web 2.0. This introductory article explores what it means to be a mashup, the different classes of popular mashups constructed today, and the enabling technologies that mashup developers leverage to create their applications. Additionally, you'll see many of the emerging technical and social challenges that mashup developers face.
|
 |
Articles |
 |
24 Jul 2009 |
|
| |
Tip: Migrating from JBoss 4 to JBoss 5
Trying to migrate your EJB code to JBoss 5? Can't get the code to deploy and run? If so, this tip is for you. Or, are you new to JBoss 5 but you want to get a feel for the EJB 3 environment? This tip details the required XML deployment files to build, deploy, and run EJB3 code on JBoss5.
|
 |
Articles |
 |
21 Jul 2009 |
|
| |
Build Wikipedia query forms with semantic technology
By providing open access to increasing amounts of Linked Data, public SPARQL endpoints boost the growth of the Semantic Web by providing great data for you to use in your applications. As with many other data-driven Web sites out there, you can create a Web page by sending a query to these endpoints and then wrapping the results in HTML tags; the big difference for SPARQL endpoints is the public availability of this new data for your applications. With simple CGI scripting, get data from two different SPARQL endpoints to build applications that answer your user's questions about actors shared between two directors and which musicians have released which albums.
|
 |
Articles |
 |
21 Jul 2009 |
|
| |
Feed your site with RSS and Atom
For modern Web 2.0 sites, the ability to mash up information from
different sources is a plus. You can use Google Web Toolkit (GWT) to get and
process XML-based news feeds such as RSS and the more modern Atom Syndication
Format. In this article, explore methods to access any appropriate feed -- despite
same-origin policy (SOP) limitations -- and to process the incoming XML
data.
|
 |
Articles |
 |
14 Jul 2009 |
|
| |
Optional XML in relational databases, Part 2: Create, store, and manipulate optional XML data with JAXB and Java annotations
Explore the software required to create, store, and manipulate optional XML relational data in this article -- the second in a two-part series. The software used includes fully worked code examples with Java(TM) Architecture for XML Binding (JAXB), the Java Persistence API (JPA)/Hibernate, an in-memory database, and persistence-related annotations.
|
 |
Articles |
 |
07 Jul 2009 |
|
| |
Producing documentation and reusing information in XML, Part 3: Creating multi-target XML documents
XML is an optimal format for writing documentation that you can use with many different documentation software packages and production environments. In this third article in the series, discover how to create single-source documents that can produce output in a variety of different output formats.
|
 |
Articles |
 |
07 Jul 2009 |
|
| |
Producing documentation and reusing information in XML, Part 2: Reuse information in XML documentation
Discover simple solutions to reuse information in XML documentation, such as how to
use XInclude to include other documents at a given point in a document and
how to use XPointer to include small document fragments from other documents or a similar
pool of information in XML format. Also, get tips for structuring XML documentation to
simplify information reuse, and learn how to maintain stand-alone documents that you can
incorporate into larger documents.
|
 |
Articles |
 |
07 Jul 2009 |
|
| |
Producing documentation and reusing information in XML, Part 1: Document publishing using XML
XML provides a way to identify data items and subcomponents within any structured data set, but has its roots in documentation development and production. Robust, open standards for XML document markup and a rich set of freely available tools for XML document parsing and format conversion make it easy to install and configure a complete documentation development and formatting environment on any UNIX or Linux system.
|
 |
Articles |
 |
07 Jul 2009 |
|
| |
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 |
|
| |
The new role of XML in cloud data integration
Learn how to leverage XML Web services to integrate cloud data with enterprise
applications, and build a sample application using the Salesforce Web Services API
with the Java API for XML Web Services (JAX-WS).
|
 |
Articles |
 |
30 Jun 2009 |
|
| |
Leveraging 3270 or 5250 data within Web-based mashup applications
Learn how to extract 3270 or 5250 data using IBM® Rational® Host Access Transformation Services, which can then be formed into an Atom data feed. This data feed can be utilized by IBM Mashup Center to consolidate with other data sources to create a new situational application for business users. We present an example of extracting data from a 3270 financial application, creating an Atom feed, cataloging that feed, and using that data to create an information dashboard for a loan officer.
|
 |
Articles |
 |
29 Jun 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 |
|
| |
Translate Atom to RDF using Java technology
Given that Resource Description Framework (RDF) query languages do not recognize documents that follow the Atom specification, how can you translate an Atom document into a distinct document that follows the RDF specification? The answer: Java technology. Learn how to make it happen.
|
 |
Articles |
 |
23 Jun 2009 |
|
| |
Connecting to the Cloud, Part 3: Cloud governance and security
In the third and final part of this three-part series on building a hybrid cloud application, examine governance and security for cloud computing. Build on the example of the HybridCloud application from Part 2 by examining how to add access control policies to its use of Amazon Simple Queue Service (SQS). Look in detail at how the HybridCloud application authenticates itself to cloud services and how to add a log audit trail to Amazon's S3 (Simple Storage Service). Lastly, see how Google Apps uses OAuth and how Force.com cloud services require built-in testing to avoid inadvertent Denial-of-Service (DoS) attacks.
|
 |
Articles |
 |
16 Jun 2009 |
|
| |
Leveraging Amazon Web Services for enterprise application integration
Discover how to leverage XML and Amazon Web Services to integrate enterprise applications, and to build cross-platform application-integration capabilities using the Microsoft(R) .NET C#) and Java(TM) platforms.
|
 |
Articles |
 |
16 Jun 2009 |
|
| |
Build a pureXML application in DB2 for z/OS, Part
3: Develop stored procedures with Rational Developer for System z
In this tutorial, the third installment in a series, learn how to use
IBM Rational Developer for System z to develop COBOL stored procedures that
manipulate XML data. This tutorial illustrates the XML schema support offered,
and provides step-by-step instructions for creating and testing stored
procedures.
|
 |
Tutorial |
 |
11 Jun 2009 |
|
| |
Using the Twitter REST API
Twitter is undoubtedly one of the most recent and successful examples of social networking to appear on the World Wide Web. Twitter provides an API so Web developers can enable their users to access the various features that the Twitter site provides. In this article, learn the basics of using the Twitter REST API.
|
 |
Articles |
 |
09 Jun 2009 |
|
| |
Build a pureXML application in DB2 for z/OS, Part
2: Web enablement through Universal Services
In this tutorial, set up Web access to your pureXML data through simple
insert, update, delete, select, and query operations known as the Universal
Services. Use the included download bundle with ready-to-install services to
explore the concepts of this tutorial, and learn how to quickly build
application prototypes with the Universal Services.
|
 |
Tutorial |
 |
04 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 |
|
| |
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 |
|
| |
Using DB2 XQuery to extract data mining results stored as PMML
Data mining is the process of finding rules and patterns in structured
data. DB2(R) data mining uses Intelligent Miner, which is part of
InfoSphere(R)
Warehouse. Intelligent Miner(R) stores those results in Predictive Model
Markup Language (PMML) format, which is based on XML.
Since the launch of DB2
9, information stored in XML can be processed efficiently using XQuery. Find
out how easily you can use DB2 XQuery to create your own access methods based on your data
mining results.
|
 |
Articles |
 |
21 May 2009 |
|
| |
Using the Java language NamespaceContext object with XPath
If you want to use namespaces in XPath expressions, you have to
provide the link of the used prefix to the URI of the namespace.
This article describes three variants of providing the prefix to
namespace mapping. It contains example code to make it easy
to code your own NamespaceContext.
|
 |
Articles |
 |
19 May 2009 |
|
| |
Build a pureXML application in DB2 for z/OS, Part
1: Use COBOL stored procedures to store and manipulate data
In this article, set up and populate a small XML database, and implement
COBOL stored procedures for basic operations on the data. Use the included
download bundle with ready-to-install samples to explore the concepts of this
article, and apply the concepts to other industry or custom XML formats. The
XML documents that conform to the UBL (Universal Business Language) format
from OASIS are stored and manipulated in the samples.
|
 |
Articles |
 |
14 May 2009 |
|
| |
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 |
|
| |
Enabling Web Service with Common Information Model
In this article we will introduce the concept of WS-Management and Common Information Model (CIM). By exploring the SOAP message with multiple examples, we will learn how to transfer CIM operations through WS-Management SOAP messages.
|
 |
Articles |
 |
08 May 2009 |
|
| |
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 |
|
| |
Connecting to the cloud, Part 2: Realize the hybrid cloud model
This is Part 2 of a three-part series on connecting to the cloud. To determine the best solution for creating a hybrid cloud application, Part 1 examined some of the offerings from the major cloud platform vendors. In this article, Part 2 of the series, you will implement the hybrid cloud application, which combines local application components with cloud computing. The application makes use of a JMS queue locally as well as an SQS queue in the cloud, combining the two in a single hybrid application.
|
 |
Articles |
 |
28 Apr 2009 |
|
| |
Connecting to the cloud, Part 1: Leverage the cloud in applications
Explore cloud computing and the offerings from the major cloud platform vendors: Amazon, Google, Microsoft, and SalesForce.com. In this first of a three-part series, take an example of a typical corporate application that uses a JMS queue, and examine what would be involved to hybridize part of this JMS infrastructure in the cloud.
|
 |
Articles |
 |
27 Apr 2009 |
|
| |
Enhance business insight and scalability of XML data with new DB2
9.7 pureXML features
New database design, administration, and development features for
pureXML are available in IBM DB2(R) for Linux(R), UNIX(R), and Windows(R),
Version 9.7 (announced April 22, 2009). Find out more about how these
technologies can help companies
integrate XML data more effectively into business intelligence environments
and how companies can cope with growing XML data volumes. This article summarizes the new pureXML capabilities,
explains how they can be used, and discusses sample application scenarios.
|
 |
Articles |
 |
23 Apr 2009 |
|
| |
XML: The bridge between GWT and PHP
Google Web Toolkit (GWT) applications, apart from connecting to servlets in time-honored Java fashion, can also use PHP Web services to send and receive data
in XML. You'll explore methods to generate XML documents and process them, both in the Java language and in PHP.
|
 |
Articles |
 |
07 Apr 2009 |
|
| |
Make dashboards with XQuery
Many digital dashboards that cropped up in the 1980s were horrible (if not unsubtle) analogs to a car's dashboard. Very few presented business data in a compelling manner. Today, Web-based dashboards try to achieve the same thing. Discover what makes a good dashboard, and learn to identify and leverage key performance indicators (KPIs) for more effective digital dashboards. Finally, build a Web dashboard using the eXist XML database and XQuery.
|
 |
Articles |
 |
31 Mar 2009 |
|
| |
Authoring with the developerWorks Word and Writer templates
Welcome, authors! This article shows you how to prepare English-language
technical articles and tutorials for publication on the worldwide
developerWorks site using Microsoft Word or OpenOffice.org Writer. The steps
are simple. You download our template package for either Word or Writer, fill
in the fields in the template, and then compose your article or tutorial
according to the guidelines in the template. Tips for composing your content
and submitting it to the developerWorks staff are also included in this
article.
|
 |
Articles |
 |
21 Mar 2009 |
|
| |
Using the developerWorks XML validation tools
If you can't find a validating XML editor you like, or prefer not to
take the time now to learn how to use one, you can edit the XML for your
developerWorks articles and tutorials using your preferred text editor. Ian
Shields has created some great tools to help you validate, transform, and
preview your article or tutorial. This article shows you how easy it is to use
those tools on Microsoft Windows or Linux.
|
 |
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 |
|
| |
Harness the power of XML to Open Financial Exchange files
The ongoing task of bookkeeping is made somewhat easier when financial institutions allow customers to download files for import into their chosen accounting package. These files can pose a problem for financial programmers, however, because they are frequently only available in Open Financial Exchange (OFX) format, which is not XML compatible. Discover how to use PHP with string substitution to make OFX files XML compliant. Thus, you harness the power of XML parsing and deconstruction to OFX files and make financial programming more precise.
|
 |
Articles |
 |
17 Mar 2009 |
|
| |
Use XQuery for the presentation layer
Many Web applications use the Model-View-Controller (MVC) pattern to separate the three concerns. Using XQuery for presentation enables view-side developers to create robust presentation effects without tying the view to any particular underlying application server or programming language. This article explains in detail the advantages of using XQuery over other view technologies, how XQuery is implemented in the presentation layer,
and a realistic example of such an implementation.
|
 |
Articles |
 |
10 Mar 2009 |
|
| |
JiBX 1.2, Part 1: Java code to XML schema
XML schema definitions are the basis for many types of data exchanges, including most forms of Web services. But XML Schema is a complex standard, and most tools for creating and modifying schema definitions are not as powerful or easy to use as those for working with Java code. The new features of JiBX 1.2 let you start from Java code and easily generate quality schema definitions to match your data structures. You can then use the schemas directly, whether you use JiBX data binding or not.
|
 |
Tutorial |
 |
03 Mar 2009 |
|
| |
JiBX 1.2, Part 1: Java code to XML schema
XML schema definitions are the basis for many types of data exchanges, including most forms of Web services. But XML Schema is a complex standard, and most tools for creating and modifying schema definitions are not as powerful or easy to use as those for working with Java code. The new features of JiBX 1.2 let you start from Java code and easily generate quality schema definitions to match your data structures. You can then use the schemas directly, whether you use JiBX data binding or not.
|
 |
Tutorial |
 |
03 Mar 2009 |
|
| |
Using E4X on the server-side with Jaxer
The ECMAScript for XML (E4X) standard gives JavaScript developers a powerful API to work with XML. As it is not supported in Internet Explorer, you might not get to use it often. That is not an issue if you use JavaScript on the server with Jaxer. In this article, you see how JavaScript and E4X make it easy to work with XML on the server. Combine this key ingredient with Jaxer to create Ajax applications using nothing but JavaScript.
|
 |
Articles |
 |
03 Mar 2009 |
|
| |
JiBX 1.2, Part 2: XML schema to Java code
Code generation from XML schema definitions is widely used for all types of XML data exchange, including Web services. Most data-binding tools rigidly structure generated code based on the schema, even aspects of the schema that may be irrelevant to your application. JiBX 1.2 generates cleaner code by doing a better job of interpreting the schema and eliminating unnecessary class clutter. It also provides extensive customizations for the generated code, including customizations for easily eliminating unnecessary components of the schema.
|
 |
Tutorial |
 |
03 Mar 2009 |
|
| |
XML basics for new users
If you're new to XML, this article introduces the basic construction of XML documents as well as the rules that you must follow to create well-formed XML, including naming conventions, proper tag nesting, attribute guidelines, declarations, and entities. You'll also gain an understanding of validation in terms of both DTD and schema usage.
|
 |
Articles |
 |
24 Feb 2009 |
|
| |
Bernie Spang on IDUG's XML Challenge
Bernie Spang, Director of Marketing for IBM Data Management Software, expounds on the XML Challenge sponsored by IDUG running through February 1st, 2009.
|
 |
Articles |
 |
06 Feb 2009 |
|
| |
Build a digital book with EPUB
Need to distribute documentation, create an eBook, or just archive your favorite blog posts? EPUB is an open specification for digital books based on familiar technologies like XML, CSS, and XHTML, and EPUB files can be read on portable e-ink devices, mobile phones, and desktop computers. This tutorial explains the EPUB format in detail, demonstrates EPUB validation using Java technology, and moves step-by-step through automating EPUB creation using DocBook and Python.
|
 |
Tutorials |
 |
05 Feb 2009 |
|
| |
Generate DITA Java API reference documentation using DITADoclet
and DITA API specialization
Combine DITADoclet and DITA API specialization to save time and still produce quality API documentation directly from the Java source code.
|
 |
Articles |
 |
03 Feb 2009 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
Integration between XML Forms Generator and Data Studio, Part 1: Get started with the integration by creating an application
The XML Forms Generator (XFG) provides a jump-start for form development. It can
quickly and automatically produce valid and functional forms containing XForms markup
embedded within an XHTML document. The input to form generation can be an XML data
instance with or without a backing XML Schema, or a WSDL document. Data Web Services,
which is based on SQL scripts and Store Procedures, is a database related application
of traditional Web Services. IBM Data Studio is a client tool for generating Data Web Services visually with the help of direct connection to database.
The integration between XFG and Data Studio can enable to generate XForms/XHTMLs from Data
Web Services generated by Data Studio. This integration provides advantages such as joining the development of UI pages and Data access seamlessly, reducing the workload of UI development from Data Web Services, visualizing the pureXML UI development with full-support of validation, etc.
|
 |
Articles |
 |
19 Dec 2008 |
|
| |
Leveraging RIXML with Web services
Research Information Exchange Markup Language (RIXML) defines a standard XML schema for exchanging content and metadata that tags content with relevant information such as locations, names, and key information types that organizations can use to efficiently perform look-up, sort, and search operations. Discover how the combination of RIXML and Web services provides a powerful mechanism for exchanging key information.
|
 |
Tutorials |
 |
16 Dec 2008 |
|
| |
XSLT as a language compiler
Explore the concept of XSLT as a programming language compiler, specifically as you create an XML facade in front of PostScript, to produce PostScript files from XML documents. This article introduces the concept of a stylesheet as an implicit language definition, the basics of PostScript, and the layers of abstraction involved in creating an XML-to-PostScript compiler.
|
 |
Articles |
 |
09 Dec 2008 |
|
| |
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 |
|
| |
Polymorphic Web services, Part 1: Polymorphic data
The potential benefits of a Service-Oriented Architecture (SOA) in terms
of loose coupling and reuse, leading to business agility, have been well
publicised for some time. But for SOA to provide a truly flexible platform for
business process management (BPM), you need to introduce an element of
abstraction into your service invocations. This article shows you how to use
XML extensions and dynamic service invocation techniques to provide a double
whammy of polymorphism, creating truly flexible service invocations while
simplifying business processes.
|
 |
Articles |
 |
20 Nov 2008 |
|
| |
Filing financial statements in XBRL: How-to, lessons learned, and best
practices
In the past few years, eXtensible Business Reporting Language (XBRL)
has emerged to meet increased regulatory and transparency requirements for
financial reporting. The global connectivity of the Internet has encouraged
the rapid development of XBRL standards. Effective December 15, 2008, the US
Securities and Exchange Commission (SEC) will require companies with more than $5
billion in market capitalization to file their financial statements in XBRL.
Over the following two years, all publicly traded companies in the US will
be required to file using XBRL. In this article, learn the fundamentals of
XBRL, the steps in the filing process, and lessons from an actual filing with
the SEC.
|
 |
Articles |
 |
18 Nov 2008 |
|
| |
Create a framework to support XSLT transformation pipelines
Explore the creation of a framework, called Butterfly, that runs in PHP 5 and
facilitates the applications of chains of XSLT stylesheets to XML source documents.
This provides transparent caching of the transformed results. Inspired by the Java(TM)-based Apache Cocoon project, so named because it houses and manages the transformation of data from one form to another (turning caterpillars into butterflies), this much lighter-weight framework is named Butterfly. With the Butterfly framework, you can set up an XML configuration file to define chains of stylesheet transformations, and then instantiate Butterfly objects that can each produce the result of an XSLT transformation chain. This article will also look at the nature of framework design in general as it sketches out this framework in particular.
|
 |
Articles |
 |
18 Nov 2008 |
|
| |
Thinking XML: Enrich Schema definitions with SKOS
The things in schemata (people, places and things) are inextricably tied to how people describe them, and this is the key to alignment of business with technology. One of the most important things an XML schema designer can do is express this connection clearly. SKOS, a language well known as a component of DITA, is a very useful means for such expression. Learn how to enrich schema definitions with SKOS definitions.
|
 |
Articles |
 |
11 Nov 2008 |
|
| |
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 |
|
| |