Chapter 7. URIs, xml:base, and XPointer

An important aspect of XML Security, as well as of the World Wide Web in general, is the ability to point to a wide variety of data objects. As Section 7.1 describes, Uniform Resource Identifiers (URIs) offer a way to achieve this goal. Because URIs can be relative to some assumed base location/name, you need a method for specifying such a base when it might default incorrectly, as noted in Section 7.2. Finally, when you need to point to part of an XML document, you can invoke the expressive power of XPath (discussed in Chapter 6) through the fragment part of a URI reference using the XPointer mechanism, the topic of Section 7.3.

If you are thoroughly familiar with URIs, xml:base, and XPointer, you can ...

Get Secure XML: The New Syntax for Signatures and Encryption now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.