1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>xpath.location</title><link rel="stylesheet" href="reference.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference�Documentation"><link rel="up" href="generallibrary.html" title="General Library Templates"><link rel="prev" href="lookup.key.html" title="lookup.key"><link rel="next" href="comment-escape-string.html" title="comment-escape-string"><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">xpath.location</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="lookup.key.html">Prev</a>�</td><th width="60%" align="center">General Library Templates</th><td width="20%" align="right">�<a accesskey="n" href="comment-escape-string.html">Next</a></td></tr></table><hr></div><div class="refentry" title="xpath.location"><a name="xpath.location"></a><div class="titlepage"></div>
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>xpath.location</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference�Documentation"><link rel="up" href="generallibrary.html" title="General Library Templates"><link rel="prev" href="lookup.key.html" title="lookup.key"><link rel="next" href="comment-escape-string.html" title="comment-escape-string"><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">xpath.location</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="lookup.key.html">Prev</a>�</td><th width="60%" align="center">General Library Templates</th><td width="20%" align="right">�<a accesskey="n" href="comment-escape-string.html">Next</a></td></tr></table><hr></div><div class="refentry" title="xpath.location"><a name="xpath.location"></a><div class="titlepage"></div>
2
2
<div class="refnamediv"><h2>xpath.location</h2><p>
4
4
— Calculate the XPath child-sequence to the current node
9
9
<p>The <code class="function">xpath.location</code> template calculates the
10
10
absolute path from the root of the tree to the current element node.