Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > 6e019a662639ac6470f50dea3a4d8157 > files > 949

docbook-style-xsl-doc-1.79.2-4.mga7.noarch.rpm

<html><head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <title>Relative URI Functions</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.79.2"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference&nbsp;Documentation"><link rel="up" href="index.html" title="Part&nbsp;1.&nbsp;XSL Library Template Reference"><link rel="prev" href="apply-string-subst-map.html" title="apply-string-subst-map"><link rel="next" href="count.uri.path.depth.html" title="count.uri.path.depth"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Relative URI Functions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apply-string-subst-map.html">Prev</a>&nbsp;</td><th width="60%" align="center">Part&nbsp;1.&nbsp;XSL Library Template Reference</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="count.uri.path.depth.html">Next</a></td></tr></table><hr></div><div class="reference"><div class="titlepage"><div><div><h1 class="title"><a name="relativeuri"></a>Relative URI Functions</h1></div></div><hr></div><div class="partintro"><div><div><div><h1 class="title"><a name="partintro"></a>Introduction</h1></div></div></div><p>These functions manipulate relative URI references.</p><p>The following assumptions must hold true:</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>All URIs are relative.</p></li><li class="listitem"><p>No URI contains the <span class="quote">&#8220;<span class="quote"><code class="literal">../</code></span>&#8221;</span> sequence
which would effectively move <span class="quote">&#8220;<span class="quote">up</span>&#8221;</span> the hierarchy.</p></li></ol></div><p>If these assumptions do not hold, the results are unpredictable.</p><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="refentrytitle"><a href="count.uri.path.depth.html">count.uri.path.depth</a></span><span class="refpurpose"> &#8212; Count the number of path components in a relative URI</span></dt><dt><span class="refentrytitle"><a href="trim.common.uri.paths.html">trim.common.uri.paths</a></span><span class="refpurpose"> &#8212; Trim common leading path components from a relative URI</span></dt><dt><span class="refentrytitle"><a href="resolve.path.html">resolve.path</a></span><span class="refpurpose"> &#8212; Resolve any ../ in path, except leading ../</span></dt><dt><span class="refentrytitle"><a href="dirname.html">dirname</a></span><span class="refpurpose"> &#8212; Return directory part of a path</span></dt></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="apply-string-subst-map.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="count.uri.path.depth.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">apply-string-subst-map&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;count.uri.path.depth</td></tr></table></div></body></html>