<?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[Problem mit GetXMLString() &#x2F; Zeilenumbruch im xml file]]></title><description><![CDATA[<p>Hi,<br />
ich benutze msxml mit IXMLDOMDocument.<br />
Ich habe eine Processing Instruction mit:<br />
pDoc-&gt;createProcessingInstruction(L&quot;xml&quot;,L&quot;version=\&quot;1.0\&quot; encoding=\&quot;ISO-8859-1\&quot;&quot;, &amp;pIXMLDOMProcessingInstruction);<br />
erzeugt.</p>
<p>wenn ich das Dokument mit:<br />
pDoc-&gt;save(CComVariant(&quot;c:\\test.xml&quot;);<br />
speicher, steht im xml dokument:<br />
&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot; ?&gt;</p>
<p>Wenn ich jedoch folgendes mache, um mir den gesamten xml String ausgeben zu lassen:<br />
BSTR bstr=L&quot; &quot;;<br />
m_doc-&gt;get_xml(&amp;bstr);<br />
CString str=bstr;<br />
::SysFreeString(bstr);</p>
<p>steht im xml header allerdings nur:<br />
&lt;?xml version=&quot;1.0&quot; ?&gt;<br />
ich habe keine Ahnung, woran das liegen kann. Ich hoffe jemand von euch kann mir da weiterhelfen.</p>
<p>Ich habe auch noch eine zweite frage:<br />
Gibt es die Möglichkeit, dass das xml File Zeilenumbrüche hat? Derzeitig ist nämlich der ganze File eine Zeile.</p>
<p>Ich hoffe, dass ihr mir helfen könnt.<br />
Grisu</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/76916/problem-mit-getxmlstring-zeilenumbruch-im-xml-file</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Apr 2026 14:24:44 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/76916.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 Jun 2004 07:28:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem mit GetXMLString() &#x2F; Zeilenumbruch im xml file on Wed, 16 Jun 2004 07:28:19 GMT]]></title><description><![CDATA[<p>Hi,<br />
ich benutze msxml mit IXMLDOMDocument.<br />
Ich habe eine Processing Instruction mit:<br />
pDoc-&gt;createProcessingInstruction(L&quot;xml&quot;,L&quot;version=\&quot;1.0\&quot; encoding=\&quot;ISO-8859-1\&quot;&quot;, &amp;pIXMLDOMProcessingInstruction);<br />
erzeugt.</p>
<p>wenn ich das Dokument mit:<br />
pDoc-&gt;save(CComVariant(&quot;c:\\test.xml&quot;);<br />
speicher, steht im xml dokument:<br />
&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot; ?&gt;</p>
<p>Wenn ich jedoch folgendes mache, um mir den gesamten xml String ausgeben zu lassen:<br />
BSTR bstr=L&quot; &quot;;<br />
m_doc-&gt;get_xml(&amp;bstr);<br />
CString str=bstr;<br />
::SysFreeString(bstr);</p>
<p>steht im xml header allerdings nur:<br />
&lt;?xml version=&quot;1.0&quot; ?&gt;<br />
ich habe keine Ahnung, woran das liegen kann. Ich hoffe jemand von euch kann mir da weiterhelfen.</p>
<p>Ich habe auch noch eine zweite frage:<br />
Gibt es die Möglichkeit, dass das xml File Zeilenumbrüche hat? Derzeitig ist nämlich der ganze File eine Zeile.</p>
<p>Ich hoffe, dass ihr mir helfen könnt.<br />
Grisu</p>
]]></description><link>https://www.c-plusplus.net/forum/post/541281</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/541281</guid><dc:creator><![CDATA[Grisu]]></dc:creator><pubDate>Wed, 16 Jun 2004 07:28:19 GMT</pubDate></item></channel></rss>