This section provides the following samples of XmlLite programming in C/C++.
To run these samples, you must have installed the XmlLite development files, Xmllite.lib and Xmllite.h. For more information, see Installing XmlLite.
-
Reading an XML Document Using XmlLite
-
This example provides details of how to to read an XML document by using XmlLite.
-
Writing an XML Document Using XmlLite
-
This example provides details of how to write an XML document by using XmlLite.
-
Processing (Reading and Writing) an XML Document Using XmlLite
-
This example shows how to process an XML document and create a derivative XML document from it.
-
Writing with Namespaces Using XmlLite
-
This example writes an XML document that contains multiple namespaces.
-
Reading with Namespaces Using XmlLite
-
This example shows how to determine what namespace a node is in.
-
Writing an Encoded XML Document Using XmlLite
-
This example writes an XML document that is encoded with UTF-16 (Unicode).
-
Reading an Encoded XML Document Using XmlLite
-
This example reads a UTF-16 encoded document.
-
Reading an XML Document Using Chunking
-
This example shows how to use chunking. Chunking is a process that provides better memory management when reading very large XML documents.
-
Reading an XML Document Using a Limiting IMalloc Implementation
-
This example shows how to implement a memory manager that limits how much memory the parser can allocate.
-
Reading an XML Document While Resolving External Entities
-
This example shows how to implement an external entity resolver.
See Also