Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 7fd7c575020aa78a8e2e309ea8909f43 > files > 618

gdal-1.6.2-6.fc13.i686.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"/>
<title>SDTS_AL: CPLXMLNode Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2-20100208 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>CPLXMLNode Struct Reference</h1><!-- doxytag: class="CPLXMLNode" -->
<p><code>#include &lt;<a class="el" href="cpl__minixml_8h_source.html">cpl_minixml.h</a>&gt;</code></p>

<p><a href="structCPLXMLNode-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="cpl__minixml_8h.html#ae2767267ad31c092d81a2380ee3474a1">CPLXMLNodeType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCPLXMLNode.html#a9ff2b585ad97ac6fe6b092390344a052">eType</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Node type.  <a href="#a9ff2b585ad97ac6fe6b092390344a052"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCPLXMLNode.html#ad9f0b3d72570553581a0d26357a8a23b">pszValue</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Node value.  <a href="#ad9f0b3d72570553581a0d26357a8a23b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structCPLXMLNode.html">CPLXMLNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCPLXMLNode.html#aba804dde624b8cdbac66cd6008542629">psNext</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Next sibling.  <a href="#aba804dde624b8cdbac66cd6008542629"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structCPLXMLNode.html">CPLXMLNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCPLXMLNode.html#a5a62af6962ee5db1b7134b7a70d3e2c9">psChild</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Child node.  <a href="#a5a62af6962ee5db1b7134b7a70d3e2c9"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Document node structure.</p>
<p>This C structure is used to hold a single text fragment representing a component of the document when parsed. It should be allocated with the appropriate CPL function, and freed with <a class="el" href="cpl__minixml_8h.html#a6208c67675de53dc8bc2b8aee2130fb8" title="Destroy a tree.">CPLDestroyXMLNode()</a>. The structure contents should not normally be altered by application code, but may be freely examined by application code.</p>
<p>Using the psChild and psNext pointers, a heirarchical tree structure for a document can be represented as a tree of <a class="el" href="structCPLXMLNode.html">CPLXMLNode</a> structures. </p>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a9ff2b585ad97ac6fe6b092390344a052"></a><!-- doxytag: member="CPLXMLNode::eType" ref="a9ff2b585ad97ac6fe6b092390344a052" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cpl__minixml_8h.html#ae2767267ad31c092d81a2380ee3474a1">CPLXMLNodeType</a> <a class="el" href="structCPLXMLNode.html#a9ff2b585ad97ac6fe6b092390344a052">CPLXMLNode::eType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Node type. </p>
<p>One of CXT_Element, CXT_Text, CXT_Attribute, CXT_Comment, or CXT_Literal. </p>

</div>
</div>
<a class="anchor" id="a5a62af6962ee5db1b7134b7a70d3e2c9"></a><!-- doxytag: member="CPLXMLNode::psChild" ref="a5a62af6962ee5db1b7134b7a70d3e2c9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structCPLXMLNode.html">CPLXMLNode</a>* <a class="el" href="structCPLXMLNode.html#a5a62af6962ee5db1b7134b7a70d3e2c9">CPLXMLNode::psChild</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Child node. </p>
<p>Pointer to first child node, if any. Only CXT_Element and CXT_Attribute nodes should have children. For CXT_Attribute it should be a single CXT_Text value node, while CXT_Element can have any kind of child. The full list of children for a node are identified by walking the psNext's starting with the psChild node. </p>

</div>
</div>
<a class="anchor" id="aba804dde624b8cdbac66cd6008542629"></a><!-- doxytag: member="CPLXMLNode::psNext" ref="aba804dde624b8cdbac66cd6008542629" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structCPLXMLNode.html">CPLXMLNode</a>* <a class="el" href="structCPLXMLNode.html#aba804dde624b8cdbac66cd6008542629">CPLXMLNode::psNext</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Next sibling. </p>
<p>Pointer to next sibling, that is the next node appearing after this one that has the same parent as this node. NULL if this node is the last child of the parent element. </p>

</div>
</div>
<a class="anchor" id="ad9f0b3d72570553581a0d26357a8a23b"></a><!-- doxytag: member="CPLXMLNode::pszValue" ref="ad9f0b3d72570553581a0d26357a8a23b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* <a class="el" href="structCPLXMLNode.html#ad9f0b3d72570553581a0d26357a8a23b">CPLXMLNode::pszValue</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Node value. </p>
<p>For CXT_Element this is the name of the element, without the angle brackets. Note there is a single CXT_Element even when the document contains a start and end element tag. The node represents the pair. All text or other elements between the start and end tag will appear as children nodes of this CXT_Element node.</p>
<p>For CXT_Attribute the pszValue is the attribute name. The value of the attribute will be a CXT_Text child.</p>
<p>For CXT_Text this is the text itself (value of an attribute, or a text fragment between an element start and end tags.</p>
<p>For CXT_Literal it is all the literal text. Currently this is just used for !DOCTYPE lines, and the value would be the entire line.</p>
<p>For CXT_Comment the value is all the literal text within the comment, but not including the comment start/end indicators ("&lt;--" and "--&gt;"). </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="cpl__minixml_8h_source.html">cpl_minixml.h</a></li>
</ul>
</div>
<hr>

Generated for GDAL by 
<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.6.2-20100208.
</body>
</html>