TinyXML
   HOME

TheInfoList



OR:

TinyXML is a small, simple, operating system-independent
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. T ...
parser for the C++ language. It is
free and open source software Free and open-source software (FOSS) is a term used to refer to groups of software consisting of both free software and open-source software where anyone is freely licensed to use, copy, study, and change the software in any way, and the source ...
, distributed under the terms of the
zlib License The zlib license is a permissive free software license which defines the terms under which the zlib software library can be distributed. It is also used by many other free software packages. The libpng library uses a similar license sometimes re ...
. TinyXML-2 replaces TinyXML-1 completely and only this version should be used.


Features

The principal impetus for TinyXML is its size, as the name suggests. It parses the XML into a
DOM Dom or DOM may refer to: People and fictional characters * Dom (given name), including fictional characters * Dom (surname) * Dom La Nena (born 1989), stage name of Brazilian-born cellist, singer and songwriter Dominique Pinto * Dom people, an et ...
-like tree. It can both read and write XML files.


Limitations

* TinyXML does not process DTDs, either internal or external. So XML files that rely upon DTD-defined entities will not parse correctly in TinyXML. * Though it does handle
processing instruction A Processing Instruction (PI) is an SGML and XML node type, which may occur anywhere in the document, intended to carry instructions to the application. Processing instructions are exposed in the Document Object Model as Node.PROCESSING_INSTRUCTION ...
s, it has no facilities for handling
XSLT XSLT (Extensible Stylesheet Language Transformations) is a language originally designed for transforming XML documents into other XML documents, or other formats such as HTML for web pages, plain text or XSL Formatting Objects, which may subseque ...
stylesheet declarations. That is, it does not apply an XSLT declared in a stylesheet processing instruction to the XML file when parsing it. * Further, TinyXML has no facility for handling XML
namespaces In computing, a namespace is a set of signs (''names'') that are used to identify and refer to objects of various kinds. A namespace ensures that all of a given set of objects have unique names so that they can be easily identified. Namespaces ...
. Qualified element or attribute names retain their prefixes, as TinyXML makes no effort to match the prefixes with namespaces. * In terms of encodings, it only handles files using
UTF-8 UTF-8 is a variable-width encoding, variable-length character encoding used for electronic communication. Defined by the Unicode Standard, the name is derived from ''Unicode'' (or ''Universal Coded Character Set'') ''Transformation Format 8-bit'' ...
or an unspecified form of ASCII similar to Latin-1.


References


External links


TinyXML1 HomepageTinyXML2 DocumentationTinyXML2 HomepageTinyXML++
which adds C++ concepts to TinyXML.
TinyXPath
which adds XPath syntax decoding to TinyXML in C++. {{DEFAULTSORT:Tinyxml Software using the zlib license XML parsers