$Id$ Diamond Jason 2001 Jason Diamond URI (Uniform Resource Identifier) Processing
Introduction This module provides templates for processing URIs (Uniform Resource Identifers).
Determines if a URI is absolute or relative. Absolute URIs start with a scheme (like "http:" or "mailto:"). uri An absolute or relative URI. Returns 'true' if the URI is absolute or '' if it's not. Gets the scheme part of a URI. The ':' is not part of the scheme. uri An absolute or relative URI. Returns the scheme (without the ':') or '' if the URI is relative. Gets the authority part of a URI. The authority usually specifies the host machine for a resource. It always follows '//' in a typical URI. uri An absolute or relative URI. Returns the authority (without the '//') or '' if the URI has no authority. Gets the path part of a URI. The path usually comes after the '/' in a URI. uri An absolute or relative URI. Returns the path (with any leading '/') or '' if the URI has no path. Gets the query part of a URI. The query comes after the '?' in a URI. uri An absolute or relative URI. Returns the query (without the '?') or '' if the URI has no query. Gets the fragment part of a URI. The fragment comes after the '#' in a URI. uri An absolute or relative URI. Returns the fragment (without the '#') or '' if the URI has no fragment. Resolves a URI reference against a base URI. This template follows the guidelines specified by RFC 2396. reference A (potentially relative) URI reference. base The base URI. document The URI of the current document. This defaults to the value of the base URI if not specified. The "combined" URI.