TinyXML
From Wikipedia, the free encyclopedia
|
|
The topic of this article may not meet Wikipedia's general notability guideline. Please help to establish notability by adding reliable, secondary sources about the topic. If notability cannot be established, the article is likely to be merged, redirected, or deleted. (November 2011) |
| Developer(s) | Lee Thomason |
|---|---|
| Stable release | 2.6.2 / May 15, 2011 |
| Operating system | Cross-platform |
| Type | API |
| License | zlib/libpng |
| Website | http://www.grinninglizard.com/tinyxml/index.html |
TinyXML is a small, simple XML parser for the C++ language. [1] It is free and open source software, distributed under the terms of the license of zlib/libpng.[2]
Contents |
[edit] Features
The principle impetus for TinyXML is its size, as the name suggests. It parses the XML into a DOM-like tree. It can both read and write XML files.
[edit] 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 instructions, it has no facilities for handling XSLT 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. 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 or an unspecified form of ASCII similar to Latin-1.
[edit] References
- ^ Drew Sikora, John Hattan. Beginning Game Programming: A GameDev.net Collection (Course Technology Cengage Learning). ISBN 978-1598638059.
- ^ "TinyXml Documentation". http://www.grinninglizard.com/tinyxmldocs/index.html. "TinyXML is released under the ZLib license"
[edit] External links
- TinyXML Homepage
- TinyXML++ which adds C++ concepts to TinyXML.
- TinyXPath which adds XPath syntax decoding to TinyXML in C++.