CMarkup FindPrevElem Method
This method moves the main position to the previous sibling element. If there is no previous sibling element it returns
false and leaves the main position where it was.
FindPrevElem method has an optional argument which allows you to specify a tag name. Calling
FindPrevElem("ITEM") will look for a previous sibling ITEM element starting at the element before the current main position and scanning previous siblings. If there is no main position, it will look for the last ITEM element starting at the last sibling under the current parent position. If no matching previous element is found, the position is left as it was before the call to
See also ResetMainPos.