Sophie

Sophie

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

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>get.namespace.prefix</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;4.&nbsp;Titlepage Template Stylesheet Reference"><link rel="prev" href="index.html" title="Part&nbsp;4.&nbsp;Titlepage Template Stylesheet Reference"><link rel="next" href="template.get.namespace.uri.html" title="get.namespace.uri"><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">get.namespace.prefix</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a>&nbsp;</td><th width="60%" align="center">Part&nbsp;4.&nbsp;Titlepage Template Stylesheet Reference</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="template.get.namespace.uri.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="template.get.namespace.prefix"></a><div class="titlepage"></div><div class="refnamediv"><h2>get.namespace.prefix</h2><p>get.namespace.prefix &#8212; Obtain namespace prefix for an element identified by a string containing qualified name</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">&lt;xsl:template name="get.namespace.prefix"&gt;
&lt;xsl:param name="element.name"/&gt;
  ...
&lt;/xsl:template&gt;</pre></div><div class="refsect1"><a name="d0e35506"></a><h2>Description</h2><p>This template interprets a string containing a qualified name of an element
and returns the namespace prefix, if any.</p><p>Element name could be an XPath expression starting with the element name; this
template will first determine if the occurrence of a colon is preceded by a valid
NCName, assuming only ASCII characters.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="index.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="template.get.namespace.uri.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part&nbsp;4.&nbsp;Titlepage Template Stylesheet Reference&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;get.namespace.uri</td></tr></table></div></body></html>