Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-release > by-pkgid > 8594b6a9177d4b36b71e1fccfb3d02cf > files > 136

lib64xml++2.6-devel-2.40.1-2.mga6.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>libxml++: xmlpp::RelaxNGSchema Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libxml++
   &#160;<span id="projectnumber">2.40.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacexmlpp.html">xmlpp</a></li><li class="navelem"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html">RelaxNGSchema</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classxmlpp_1_1RelaxNGSchema-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">xmlpp::RelaxNGSchema Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Represents a RelaxNG schema for validating XML files.  
 <a href="classxmlpp_1_1RelaxNGSchema.html#details">More...</a></p>

<p><code>#include &lt;libxml++/relaxngschema.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for xmlpp::RelaxNGSchema:</div>
<div class="dyncontent">
<div class="center"><img src="classxmlpp_1_1RelaxNGSchema__inherit__graph.png" border="0" usemap="#xmlpp_1_1RelaxNGSchema_inherit__map" alt="Inheritance graph"/></div>
<map name="xmlpp_1_1RelaxNGSchema_inherit__map" id="xmlpp_1_1RelaxNGSchema_inherit__map">
<area shape="rect" id="node2" href="classxmlpp_1_1SchemaBase.html" title="Base class for schemas, used for validation of XML files. " alt="" coords="15,80,170,107"/><area shape="rect" id="node3" href="classxmlpp_1_1NonCopyable.html" title="A base for classes which cannot be copied. " alt="" coords="15,5,170,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a747dee0d21f943513e3d8f8460e6b2fd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a747dee0d21f943513e3d8f8460e6b2fd">RelaxNGSchema</a> ()</td></tr>
<tr class="separator:a747dee0d21f943513e3d8f8460e6b2fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d309a12c26a9548c28616f4c273e001"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a7d309a12c26a9548c28616f4c273e001">RelaxNGSchema</a> (_xmlRelaxNG* schema)</td></tr>
<tr class="memdesc:a7d309a12c26a9548c28616f4c273e001"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a schema from the underlying libxml schema element.  <a href="#a7d309a12c26a9548c28616f4c273e001">More...</a><br /></td></tr>
<tr class="separator:a7d309a12c26a9548c28616f4c273e001"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab5fb6f11d406dd7f0e867d9868307ea"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#aab5fb6f11d406dd7f0e867d9868307ea">RelaxNGSchema</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; filename)</td></tr>
<tr class="memdesc:aab5fb6f11d406dd7f0e867d9868307ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a schema from a schema definition file.  <a href="#aab5fb6f11d406dd7f0e867d9868307ea">More...</a><br /></td></tr>
<tr class="separator:aab5fb6f11d406dd7f0e867d9868307ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac262630e9f267e2f7dc380ea42598cad"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#ac262630e9f267e2f7dc380ea42598cad">RelaxNGSchema</a> (const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* document)</td></tr>
<tr class="memdesc:ac262630e9f267e2f7dc380ea42598cad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a schema from an XML document.  <a href="#ac262630e9f267e2f7dc380ea42598cad">More...</a><br /></td></tr>
<tr class="separator:ac262630e9f267e2f7dc380ea42598cad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c7ec7550409cbcaeb3c8344064516f9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a7c7ec7550409cbcaeb3c8344064516f9">~RelaxNGSchema</a> () override</td></tr>
<tr class="separator:a7c7ec7550409cbcaeb3c8344064516f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93dd73cce2d068b08e1afdbe6588761a"><td class="memItemLeft" align="right" valign="top">_xmlRelaxNG*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a93dd73cce2d068b08e1afdbe6588761a">cobj</a> ()</td></tr>
<tr class="memdesc:a93dd73cce2d068b08e1afdbe6588761a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access the underlying libxml implementation.  <a href="#a93dd73cce2d068b08e1afdbe6588761a">More...</a><br /></td></tr>
<tr class="separator:a93dd73cce2d068b08e1afdbe6588761a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab14b665829f052f619bdca07d087b62d"><td class="memItemLeft" align="right" valign="top">const _xmlRelaxNG*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#ab14b665829f052f619bdca07d087b62d">cobj</a> () const </td></tr>
<tr class="memdesc:ab14b665829f052f619bdca07d087b62d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access the underlying libxml implementation.  <a href="#ab14b665829f052f619bdca07d087b62d">More...</a><br /></td></tr>
<tr class="separator:ab14b665829f052f619bdca07d087b62d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a547d258651169796055ccc76179c129b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a547d258651169796055ccc76179c129b">parse_document</a> (const <a class="el" href="classxmlpp_1_1Document.html">Document</a>* document) override</td></tr>
<tr class="memdesc:a547d258651169796055ccc76179c129b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a schema definition from a document.  <a href="#a547d258651169796055ccc76179c129b">More...</a><br /></td></tr>
<tr class="separator:a547d258651169796055ccc76179c129b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a735972ba9f69987339980572df8f7106"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a735972ba9f69987339980572df8f7106">parse_file</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; filename) override</td></tr>
<tr class="memdesc:a735972ba9f69987339980572df8f7106"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a schema definition file.  <a href="#a735972ba9f69987339980572df8f7106">More...</a><br /></td></tr>
<tr class="separator:a735972ba9f69987339980572df8f7106"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26056dc0eed317f27ae45207a957d63b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a26056dc0eed317f27ae45207a957d63b">parse_memory</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; contents) override</td></tr>
<tr class="memdesc:a26056dc0eed317f27ae45207a957d63b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a schema definition from a string.  <a href="#a26056dc0eed317f27ae45207a957d63b">More...</a><br /></td></tr>
<tr class="separator:a26056dc0eed317f27ae45207a957d63b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classxmlpp_1_1SchemaBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classxmlpp_1_1SchemaBase')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classxmlpp_1_1SchemaBase.html">xmlpp::SchemaBase</a></td></tr>
<tr class="memitem:a2ffebf4094ac35b6c3a5c85099a738fc inherit pub_methods_classxmlpp_1_1SchemaBase"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaBase.html#a2ffebf4094ac35b6c3a5c85099a738fc">SchemaBase</a> ()</td></tr>
<tr class="separator:a2ffebf4094ac35b6c3a5c85099a738fc inherit pub_methods_classxmlpp_1_1SchemaBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a746df1307fcddeb3bbbf1f2ac834d79b inherit pub_methods_classxmlpp_1_1SchemaBase"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1SchemaBase.html#a746df1307fcddeb3bbbf1f2ac834d79b">~SchemaBase</a> () override</td></tr>
<tr class="separator:a746df1307fcddeb3bbbf1f2ac834d79b inherit pub_methods_classxmlpp_1_1SchemaBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a0b53e1bc6c2600a30694560f23464a78"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#a0b53e1bc6c2600a30694560f23464a78">parse_context</a> (_xmlRelaxNGParserCtxt* context)</td></tr>
<tr class="separator:a0b53e1bc6c2600a30694560f23464a78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6f16231680d5749926ecaab71b248be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1RelaxNGSchema.html#af6f16231680d5749926ecaab71b248be">release_underlying</a> ()</td></tr>
<tr class="separator:af6f16231680d5749926ecaab71b248be"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents a RelaxNG schema for validating XML files. </p>
<p>RelaxNG = REgular LAnguage for XML Next Generation</p>
<dl class="since_2_38"><dt><b><a class="el" href="since_2_38.html#_since_2_38000001">Since libxml++ 2.38:</a></b></dt><dd></dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a747dee0d21f943513e3d8f8460e6b2fd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::RelaxNGSchema::RelaxNGSchema </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a7d309a12c26a9548c28616f4c273e001"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::RelaxNGSchema::RelaxNGSchema </td>
          <td>(</td>
          <td class="paramtype">_xmlRelaxNG *&#160;</td>
          <td class="paramname"><em>schema</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a schema from the underlying libxml schema element. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">schema</td><td>A pointer to the libxml schema element. The <a class="el" href="classxmlpp_1_1RelaxNGSchema.html" title="Represents a RelaxNG schema for validating XML files. ">RelaxNGSchema</a> takes ownership of the _xmlRelaxNG. The caller must not deallocate it. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aab5fb6f11d406dd7f0e867d9868307ea"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::RelaxNGSchema::RelaxNGSchema </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a schema from a schema definition file. </p>
<p>The schema must be defined with XML syntax (.rng file). The compact syntax (.rnc file) is not supported. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The URL of the schema. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac262630e9f267e2f7dc380ea42598cad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::RelaxNGSchema::RelaxNGSchema </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classxmlpp_1_1Document.html">Document</a>*&#160;</td>
          <td class="paramname"><em>document</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a schema from an XML document. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">document</td><td>A preparsed document tree, containing the schema definition. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7c7ec7550409cbcaeb3c8344064516f9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::RelaxNGSchema::~RelaxNGSchema </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a93dd73cce2d068b08e1afdbe6588761a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_xmlRelaxNG* xmlpp::RelaxNGSchema::cobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Access the underlying libxml implementation. </p>

</div>
</div>
<a class="anchor" id="ab14b665829f052f619bdca07d087b62d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const _xmlRelaxNG* xmlpp::RelaxNGSchema::cobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Access the underlying libxml implementation. </p>

</div>
</div>
<a class="anchor" id="a0b53e1bc6c2600a30694560f23464a78"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::RelaxNGSchema::parse_context </td>
          <td>(</td>
          <td class="paramtype">_xmlRelaxNGParserCtxt *&#160;</td>
          <td class="paramname"><em>context</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a547d258651169796055ccc76179c129b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::RelaxNGSchema::parse_document </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classxmlpp_1_1Document.html">Document</a>*&#160;</td>
          <td class="paramname"><em>document</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse a schema definition from a document. </p>
<p>If another schema has been parsed before, that schema is replaced by the new one. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">document</td><td>A preparsed document tree, containing the schema definition. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classxmlpp_1_1SchemaBase.html#a0591e2b2adcb6cdceeb422526c133024">xmlpp::SchemaBase</a>.</p>

</div>
</div>
<a class="anchor" id="a735972ba9f69987339980572df8f7106"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::RelaxNGSchema::parse_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse a schema definition file. </p>
<p>The schema must be defined with XML syntax (.rng file). The compact syntax (.rnc file) is not supported.</p>
<p>If another schema has been parsed before, that schema is replaced by the new one. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The URL of the schema. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classxmlpp_1_1SchemaBase.html#a75a4aa5f3972f1dd88af46de3f3307fc">xmlpp::SchemaBase</a>.</p>

</div>
</div>
<a class="anchor" id="a26056dc0eed317f27ae45207a957d63b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::RelaxNGSchema::parse_memory </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>contents</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse a schema definition from a string. </p>
<p>The schema must be defined with XML syntax. The compact syntax is not supported.</p>
<p>If another schema has been parsed before, that schema is replaced by the new one. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">contents</td><td>The schema definition as a string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classxmlpp_1_1parse__error.html" title="This exception will be thrown when the parser encounters an error in the XML document. ">xmlpp::parse_error</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classxmlpp_1_1SchemaBase.html#a8aaacd840324840bf0cee30cff1832c5">xmlpp::SchemaBase</a>.</p>

</div>
</div>
<a class="anchor" id="af6f16231680d5749926ecaab71b248be"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::RelaxNGSchema::release_underlying </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Oct 28 2015 14:41:04 for libxml++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>