1.1 --- a/docs/path-info.html Wed Aug 24 18:50:32 2005 +0000
1.2 +++ b/docs/path-info.html Wed Aug 24 21:33:04 2005 +0000
1.3 @@ -1,12 +1,10 @@
1.4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1.5 -<html xmlns="http://www.w3.org/1999/xhtml">
1.6 -<head>
1.7 +<html xmlns="http://www.w3.org/1999/xhtml"><head>
1.8 <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type" />
1.9 - <title>Paths To and Within Applications</title>
1.10 - <meta name="generator"
1.11 - content="amaya 8.1a, see http://www.w3.org/Amaya/" />
1.12 - <link href="styles.css" rel="stylesheet" type="text/css" />
1.13 -</head>
1.14 +
1.15 + <title>Paths To and Within Applications</title><meta name="generator" content="amaya 8.1a, see http://www.w3.org/Amaya/" />
1.16 + <link href="styles.css" rel="stylesheet" type="text/css" /></head>
1.17 +
1.18 <body>
1.19 <h1>Paths To and
1.20 Within Applications</h1>
1.21 @@ -48,14 +46,15 @@
1.22 <dt><code>get_path_info</code></dt>
1.23 <dd>This gets the path of a
1.24 resource within an application. The path should always contain a
1.25 -leading <code>/</code> character at the very least.</dd>
1.26 +leading <code>/</code> character at the very least.<br />
1.27 +An optional encoding parameter may be used to assist the process of converting the path to a Unicode object - see <a href="encodings.html">"Character Encodings"</a> for more information.</dd>
1.28 <dt><code>get_virtual_path_info</code></dt>
1.29 <dd>This gets the path of a
1.30 resource within a part of an application
1.31 - the application itself decides the scope of the path and can set the
1.32 "virtual path info" using the <code>set_virtual_path_info</code>
1.33 -method. The path should always contain a leading <code>/</code>
1.34 -character at the very least.</dd>
1.35 +method. The path should either contain a leading <code>/</code>
1.36 +character optionally followed by other characters, or an empty string.</dd>
1.37 </dl>
1.38 </div>
1.39 <h2>Choosing the Right Path Value</h2>
1.40 @@ -67,8 +66,7 @@
1.41 it may be difficult to use that to provide references or links to those
1.42 resources. Here is a summary of how you might use the different path
1.43 values:</p>
1.44 -<table style="text-align: left; width: 80%;" align="center" border="1"
1.45 - cellpadding="5" cellspacing="0" width="80%">
1.46 +<table style="text-align: left; width: 80%;" align="center" border="1" cellpadding="5" cellspacing="0" width="80%">
1.47 <tbody>
1.48 <tr>
1.49 <th style="text-align: center;">Type of information</th>
1.50 @@ -136,9 +134,8 @@
1.51 <dl>
1.52 <dt><code>set_virtual_path_info</code></dt>
1.53 <dd>This sets the virtual path, affecting subsequent calls to the <code>get_virtual_path_info</code>
1.54 -method. The path should always contain a leading <code>/</code>
1.55 -character at the very least.</dd>
1.56 +method. The path should either contain a leading <code>/</code>
1.57 +character optionally followed by other characters, or an empty string.</dd>
1.58 </dl>
1.59 </div>
1.60 -</body>
1.61 -</html>
1.62 +</body></html>
1.63 \ No newline at end of file