Generate URIs and IRIs from Templates

An introduction to the URI Template specification

From the developerWorks archives

James Snell

Date archived: January 4, 2017 | First published: January 22, 2008

The Universal Resource Identifier (URI) Template specification provides a mechanism that can be used to describe how to construct URIs for a broad variety of applications. This article introduces you to basic URI Template syntax and shows you how a template is expanded into a URI. View an illustration of the use of two URI Template implementations for Java™Script and Java language programs and learn about concepts related to the production of Internationalized Resource Identifiers (IRIs).

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.

Zone=Web development, SOA and web services
ArticleTitle=Generate URIs and IRIs from Templates