| ||||||||
GetElemLevel Methodint CMarkup::GetElemLevel() const;
This method returns the "level" of the current main position element. If there is no main position, it returns <test>
<A/>
</test>
xml.ResetPos(); xml.FindElem(); // test int nLev = xml.GetElemLevel(); // 0 xml.IntoElem(); xml.FindElem(); // A nLev = xml.GetElemLevel(); // 1 |
|
Posted October 19, 2006 updated May 14, 2007. Question or comment about this article? ©Copyright 2008 First Objective Software, Inc. All rights reserved. |