<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[&amp;quot;Element does not contain a single text node&amp;quot;]]></title><description><![CDATA[<p>Ist folgende XML-Code regulär? Mit der Methode GetNodeValue() von _di_IXMLNode kann ich die NodeValue „Barbados“ nicht bekommen, sondern bekomme ich eine Exception „Element does not contain a single text node“. Hat jemand Tipps für mich? Danke!!</p>
<pre><code>&lt;land id=&quot;27&quot;&gt;
    Barbados 
    &lt;zielgebiet id=&quot;83&quot;&gt;
         &lt;![CDATA[ 111&rsqb;&rsqb;&gt; 
         &lt;ort id=&quot;323&quot;&gt;
            Barbados 
            &lt;abpreis&gt;741&lt;/abpreis&gt; 
          &lt;/ort&gt;
    &lt;/zielgebiet&gt;
&lt;/land&gt;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/110748/quot-element-does-not-contain-a-single-text-node-quot</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 15:46:09 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/110748.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 May 2005 10:00:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to &amp;quot;Element does not contain a single text node&amp;quot; on Tue, 24 May 2005 10:00:26 GMT]]></title><description><![CDATA[<p>Ist folgende XML-Code regulär? Mit der Methode GetNodeValue() von _di_IXMLNode kann ich die NodeValue „Barbados“ nicht bekommen, sondern bekomme ich eine Exception „Element does not contain a single text node“. Hat jemand Tipps für mich? Danke!!</p>
<pre><code>&lt;land id=&quot;27&quot;&gt;
    Barbados 
    &lt;zielgebiet id=&quot;83&quot;&gt;
         &lt;![CDATA[ 111&rsqb;&rsqb;&gt; 
         &lt;ort id=&quot;323&quot;&gt;
            Barbados 
            &lt;abpreis&gt;741&lt;/abpreis&gt; 
          &lt;/ort&gt;
    &lt;/zielgebiet&gt;
&lt;/land&gt;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/794846</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/794846</guid><dc:creator><![CDATA[fubin_22527]]></dc:creator><pubDate>Tue, 24 May 2005 10:00:26 GMT</pubDate></item><item><title><![CDATA[Reply to &amp;quot;Element does not contain a single text node&amp;quot; on Tue, 24 May 2005 10:19:20 GMT]]></title><description><![CDATA[<p>XMLSpy sagt, dass der Code well-formed ist.<br />
Was machst Du denn?</p>
<p>Gruß,</p>
<p>Alexander</p>
]]></description><link>https://www.c-plusplus.net/forum/post/794860</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/794860</guid><dc:creator><![CDATA[Alexander Kempf]]></dc:creator><pubDate>Tue, 24 May 2005 10:19:20 GMT</pubDate></item><item><title><![CDATA[Reply to &amp;quot;Element does not contain a single text node&amp;quot; on Tue, 24 May 2005 10:50:25 GMT]]></title><description><![CDATA[<p>Danke, es ist gut zu wissen dass es ein reguläre XML-Code ist.<br />
Aber mit der Methode GetNodeValue() von _di_IXMLNode kann ich die Node-Werte &quot;Barbados&quot; nicht bekommen.</p>
<p>Siehe mal Dokumente von BCB-Hilfe.</p>
<blockquote>
<p>Returns the value of this node.</p>
<p>OleVariant __fastcall GetNodeValue(void);</p>
<p>Description</p>
<p>Use the TXMLNode object’s IXMLNode interface to call the protected GetNodeValue method. GetNodeValue returns the value of the node. This value depends on the type of the node, as indicated in the following table:</p>
<p>NodeType Value<br />
----------------------------------------------------<br />
ntAttribute: The attribute value<br />
ntElement : If the element contains only text, this is that text value. Otherwise, GetNodeValue raises an exception.<br />
ntText: The text<br />
ntCData: The content of the CDATA section.<br />
ntEntityRef: NULL<br />
ntProcessingInstr: The content of the processing instruction except for the target.<br />
ntComment The value (text) of the comment.<br />
ntDocFragment NULL</p>
</blockquote>
<p>Die Node &quot;land&quot; ist ein &quot;ntElement&quot;, wie kann ich ihre Node-Werte bekommen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/794885</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/794885</guid><dc:creator><![CDATA[fubin_22527]]></dc:creator><pubDate>Tue, 24 May 2005 10:50:25 GMT</pubDate></item><item><title><![CDATA[Reply to &amp;quot;Element does not contain a single text node&amp;quot; on Tue, 24 May 2005 11:02:00 GMT]]></title><description><![CDATA[<p>Sorry, gerade habe ich die Lösung gefunden.</p>
<p>&quot;Barbados&quot; wird als Node mit Node-Name &quot;#text&quot; von _di_IXMLNode betrachtet. Wenn ich eine Stufe tiefer gehe, dann kann ich schon die Werte bekommen.</p>
<p>Danke <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/794894</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/794894</guid><dc:creator><![CDATA[fubin_22527]]></dc:creator><pubDate>Tue, 24 May 2005 11:02:00 GMT</pubDate></item></channel></rss>