uri-parsed-path

Generic Function

Package: net.uri

Arguments: uri

Return the parsed representation of the path portion of uri (as returned by uri-path. This is setf'able.

The parsed path representation is a list (the path is a string). A parsed path has the following form:

([:absolute | :relative] component1 [component2...])

where components are:

element | (element param1 [param2 ...]) 

and element is a path element, and the param's are path element parameters. For example, the result of

(uri-parsed-path (parse-uri "foo;10/bar:x;y;z/baz.htm")) 

is

(:relative ("foo""10") 
           ("bar:x""y""z") 
           "baz.htm") 

There is a certain amount of canonicalization that occurs when parsing:

See Parsing, escape decoding/encoding and the path in uri.htm for a discussion of encoding and decoding. The example above is repeated there.

See also uri.htm for general information on Universal Resource Indicator support in Allegro CL.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.