Navigation and URIs
The XPath language is useful for intradocument navigation. Despite its expressiveness, XPath stops short of supporting interdocument navigation. Rather, the Internet bias of XML relies heavily on the IETF Uniform Resource Identifier specification (RFC2396) for referencing XML documents from other XML documents. While both URNs and URLs are supported, the practical reality of today's Internet is that everything is referenced using URLs.
A URL can be absolute or relative. When an absolute URL appears in an XML document, there is no ambiguity as to how to dereference it. When a relative URL appears in an XML document, several factors come into play. By default, the URL is assumed to be relative to the entity in which it appears. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access