| ||||||||
CMarkup Developer
Top 10 exclusive features of CMarkup Developer version1. Store binary data in Base64. The Developer version has encode and decode functions. See EncodeBase64 and DecodeBase64 Functions. EncodeBase64( pBuffer, nBufferLen ) DecodeBase64( csBase64, pBuffer, nBufferLen ) 2. Use paths for quicker navigation. Call GetElemPath() FindGetData( szPath ) FindSetData( szPath, szData, nCDATA=0 ) 3. Remove attributes. In the Evaluation version you cannot actually remove attributes, you can only set the value to an empty string. The Developer version supports removing attributes. RemoveAttrib( szAttrib ) RemoveChildAttrib( szAttrib ) 4. Prepend XML declaration. The Developer version also supports automatic prefixing of the document with an XML declaration such as 5. Load and save UTF-16 XML files. The Developer version (6.6) tests for the BOM on 6. Navigate to previous sibling element. The Developer version (7.0) has functions to go to the previous sibling of the main position or child position. FindPrevElem( szName ) FindPrevChildElem( szName ) 7. Use element indexes. It is also very useful to get the handle or index of the current main position element in the document as an integer for more complex navigation. The Developer version contains sample source code for sorting and Breadth-First traversal that use ElemIndex Navigation. GetElemIndex() GotoElemIndex() 8. Use document offsets. This is useful with using CMarkup in edit controls. See the GetOffsets and GetAttribOffsets methods. 9. Reuse deleted index memory. This is a memory management enhancement implemented in the developer version since release 7.0. 10. Element count and level methods. The Developer version comes with int GetDocElemCount() int GetElemLevel()
Thanks for writing. It can be confusing so for other readers I'll say again that the CMarkup Developer version is for MFC and STL. It is the Advanced CMarkup Developer package that is MFC only (many Windows classes that were developed in MFC). | |||||||||||
|
Posted August 7, 2004 updated November 2, 2006. Question or comment about this article? ©Copyright 2008 First Objective Software, Inc. All rights reserved. |