Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > a2116f36018873d572acbcadddb8e994 > files > 872

clanlib0.8-docs-0.8.1-22.mga7.i586.rpm


<!-- clanlib header begin -->
<HTML>
<HEAD>
<TITLE>CL_DomText - ClanLib Game SDK</TITLE>
<STYLE TYPE="text/css"><!--
HTML BODY
{
	font-family: verdana, helvetica, sans-serif;
	font-size: 12px;
}
H1 { font-size: 22px; }
H2 { font-size: 18px; }
H3 { font-size: 16px; }
H4 { font-size: 14px; }
P { font-size: 12px; }
LI { font-size: 12px; }
--></STYLE>
</HEAD>

<body bgcolor=white text=black link=blue vlink=#800080>

<center>
<img src="http://clanlib.org/gfx/clanlib.png">
</center>
<!-- clanlib header end -->

<center>
<p>
<a href="http://clanlib.org/docs.html">Home</a> |
<a href="classes.html">All Classes</a> |
<a href="modules.html">Grouped Classes</a> |
<a href="index.html">Index</a> |
<a href="search.html">Search</a>
</p>
</center>
<h1>Class CL_DomText</h1>
<p>  DOM Text class. <a href="#description">More...</a></p>
<p>Derived from:
<a href="CL_DomCharacterData.html">CL_DomCharacterData</a>
<br>
Derived by:
<a href="CL_DomCDATASection.html">CL_DomCDATASection</a>
<br>Group: Core (XML)</p>
<p>
#include &lt;ClanLib/core.h&gt;
<p>
<table border=0 width=100%>
</table>
<p><b>Construction:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_DomText__CL_DomText.html">CL_DomText</a></p></td><td valign=top><p>  Constructs a DOM Text handle.</p></td></tr></table>
<p><b>Operations:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_DomText__splitText.html">splitText</a></p></td><td valign=top><p>  Breaks this Text node into two Text nodes at the specified offset, keeping both in the tree as siblings.</p></td></tr></table>
<p><b>Implementation:</b></p>
<table border=0 width=100%>
</table>
<a name="#description"><p><b>Detailed description:</b></p>
  !group=Core/XML!
  !header=core.h!
  <p>The Text interface represents the textual content (termed character data
  in XML) of an Element or Attr. If there is no markup inside an element's content,
  the text is contained in a single object implementing the Text interface that is
  the only child of the element. If there is markup, it is parsed into a list of
  elements and Text nodes that form the list of children of the element.</p>
  <p>When a document is first made available via the DOM, there is only one Text
  node for each block of text. Users may create adjacent Text nodes that represent
  the contents of a given element without any intervening markup, but should be aware
  that there is no way to represent the separations between these nodes in XML or HTML,
  so they will not (in general) persist between DOM editing sessions. The normalize()
  method on Element merges any such adjacent Text objects into a single node for each
  block of text; this is recommended before employing operations that depend on a
  particular document structure, such as navigation with XPointers.</p>


<!-- clanlib footer begin -->

<center><br><br><font color="#a0a0a0">
Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>.
</font></center>

</body>
</html>
<!-- clanlib footer end -->