| ||||||||
GetElemContent MethodMCD_STR CMarkup::GetElemContent() const; The See Subdocuments and Fragments of XML Documents. <config>
<diagnostics d="3">
<file>C:\temp\a.txt</file>
</diagnostics>
<diagnostics d="7">
<file>D:\temp\a.txt</file>
<proxy usedefault="true"/>
</diagnostics>
</config>
xml.FindElem( "/config/diagnostics[2]" ); str sSubDoc = xml.GetElemContent(); This code navigates to the second diagnostics element and <file>D:\temp\a.txt</file>
<proxy usedefault="true"/>
|
|
Posted July 12, 2005 updated May 14, 2007. Question or comment about this article? ©Copyright 2008 First Objective Software, Inc. All rights reserved. |