Ten XML Schemas you should know

A new article on Ten XML Schemas that you should be aware of is now available at IBM developerWorks. The article collects together some of the XML schemas that I think are important.

In this article, look at some top XML schemas that provide solutions for all sorts of problems, from the basics of Web services to data description. You’ll also cover database-like solutions that involve contacts and invoices. The schemas in this article were chosen for their usefulness and utility, plus their impact on the XML community in how information is shared and exchanged using the XML format.

Read: Ten XML Schemas you should know

Learn 10 good XML usage habits

A new article on some of the best XML usage habits is now available. The article aims to look at some of the main trips and mistakes made by people when using XML as a data or processing format:

Make your XML work easier with the ten tips in this article – ultimately you’ll be less prone to errors and more productive.You love XML and the flexibility and interoperability that it offers, but you can do some things to make your interaction with XML and the tools that you use to work with it significantly easier. Picking up some basic good habits when you work with XML will ensure that you get the most efficient use out of your XML documentations and applications.

Read: Learn 10 good XML usage habits

Voice enabling XML, Part 4: Develop a Web search application for VoiceXML

The final part of the four-part series on developing VoiceXML applications, this time covering an interface to an internet search system, is available:

In this final article of a four-part series, develop an application that takes VoiceXML as input and queries the Yahoo Search API for both basic Web searches and Yahoo local searches. The query returns information about businesses within a specific location and region. The application then reads the results to the caller after submission.Internet searching is taken for granted these days, with numerous services available for searching. Web searching has also expanded. With so many companies that have a Web presence, many companies now merge their Web and traditional offline data, like business directories, and map and location information to make it possible to search for a variety of businesses and information.This information is perfect to use VoiceXML (VXML) to submit your searches and listen to the returned results. In this article, you will create an application that does this, and you will also:

  • Review a Web searching workflow
  • Create a generic class for outputting VXML form elements
  • Create VXML grammar that supports a wide range of input
  • Use the Yahoo search interface
  • Run Web searches using VXML and Yahoo search
  • Run local searches using VXML and Yahoo search

Read: Voice enabling XML, Part 4: Develop a Web search application for VoiceXML

Aggregate RSS and Atom information using XQuery

XQuery is rapidly becoming seen as an alternative XML processing solution. It has some advantages – you can embed the queries into the XML, and it can be easier to follow than XSLT and some other solutions, to name but a few. So how do you use it to do some real work? Well, as a starting point, try my new article on how to Aggregate RSS and Atom information using XQuery. Using the familiar territory of RSS and Atom feeds, which at their core have a fairly simple structure and are therefore easy to follow what is being done. With that in mind, here’s what I do in the article:

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.

Read Aggregate RSS and Atom information using XQuery

Voice enabling XML, Part 3: Develop a voice blogging app

I had a lot of fun developing the VoiceXML series, and the third article in the series is now available. There are some limitations – you cannot yet dictate your blog post, for example – but the article shows the potential power of the a VoiceXML based blogging solution.

In this third article of a four-part series, you will develop a simple blogging application that takes VoiceXML (VXML) as input and saves the data into your online blog. You will also learn to use this type of voice blogging to great advantage when you create tweets, or Twitter entries.Blogging is another topic that more and more people seem to do these days to increase their visibility, and so their voice can be heard. Why not use VoiceXML to actually interact with your blog or tweet using your own voice? In this article, you learn to do this very thing and to:

  • Generate dynamic VoiceXML from remote data
  • Pass through the content to VXML
  • Submit the request to the blog and report back through VXML
  • Submit status updates to TwitterRead: Voice enabling XML, Part 3: Develop a voice blogging app
  • Voice enabling XML, Part 2: Develop a voice-enabled calendar

    The second of the articles on developing VoiceXML applications is now available:

    In this second article of a four-part series, you learn to develop a voice-enabled calendar. Save the data of the calendar as XML; then to modify calendar entries, have the application read VoiceXML that contains your specified commands. The calendar can also output VoiceXML to speak your daily tasks back to you.Everyone needs a good calendar tool during these busy times, so why not a voice-enabled one? With VoiceXML, you can create a calendar that you can manipulate using your own speech. Along the way you will also learn to:

    • Create a menu-based application
    • Accept input
    • Write the input to a script for further processing
    • Read a data file and output VXML

    Read: Voice enabling XML, Part 2: Develop a voice-enabled calendarYou may also want to read the first in the series: Voice enabling XML, Part 1: Develop a voice-enabled RSS reader.