Tip, Default and error handling in XSLT lookup tables

How to deal with cases where a value isn't found in a lookup table

From the developerWorks archives

Uche Ogbuji

Date archived: February 23, 2017 | First published: December 22, 2004

In a previous tip Uche Ogbuji demonstrated how to build lookup tables in XSLT. One follow-up question to emerge from that article is how to handle error or default conditions in XSLT lookup tables. This tip illustrates how to do so.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML
ArticleID=32371
ArticleTitle=Tip: Default and error handling in XSLT lookup tables
publish-date=12222004