Welcome to the TinyXPath home page
Description
TinyXPath is a small footprint XPath syntax decoder, written in C++.
- Syntax decoding
- Application to a TinyXML tree
- Function to extract a result from a tree (string, node set or integer)
The name is a tribute to Lee Thomason for his TinyXML package
Capabilities
Here is the output of the regression testing. It shows all expressions currently tested.
The XPath result can be returned as a string, a node set, an integer, or a complex type being one of the above.
Documentation
Doxygen will be used extensively in the code, in order to provide appropriate
documentation, available from this site.
Here is the current documentation. It includes explanations on how to use the XPath processor as well.
License
TinyXPath is covered by the zlib license :
www.sourceforge.net/projects/tinyxpath
Copyright (c) 2002-2006 Yves Berquin (yvesb@users.sourceforge.net)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose, including commercial applications, and to alter it and
redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must
not claim that you wrote the original software. If you use this
software in a product, an acknowledgment in the product documentation
would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and
must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.
Missing features
Here are the known limitations :
- There is no comparison of two node sets yet.
- There is no link to the DTD to provide what XPath calls a unique ID.
- We do not yet recognize namespace nodes (xmlns:).
- Due to a limitation in TinyXML handling of space between elements, some counts are incorrect because we don't take
the whitespace between the element nodes into account
Links
Last update : April, 17th, 2006 by Yves Berquin