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: May 14, 2019 | 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 content, steps, or illustrations may have changed.

ArticleTitle=Tip: Default and error handling in XSLT lookup tables