Main > Programming > Libraries >

wwtxt 1.11

wwtxt 1.11

Sponsored Links

wwtxt 1.11 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.045 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 1227
Date added: 2006-06-16
Publisher: Kasper Peeters

wwtxt 1.11 description

Parsing XML and CSS data is rather simple, but most libraries that aim for this simple goal are bloated with a whole lot of other irrelevant additions.

The wwtxt library is a very minimalistic library containing just the required parsers (and therefore considerably smaller than for instance libxml; by a factor 40 or so). wwtxt library relies on tree.hh for the storage classes.

This library only parses well-formed XML and CSS; it throws an exception when it is fed other input. If you want to feed it HTML or any of the other stuff that people call HTML, run it through the tidy tool, with the options

tidy --add-xml-decl yes --add-xml-space yes --output-xml yes --force-output yes
--show-warnings no --quiet yes --show-errors 0

(which you can put in a configuration file too, see the tidy documentation).

Sample uses

Reading in an XML document, walking through the tree and converting a tree back to an XML document are all extremely simple. To read an XML document from std::cin and write it back to std::cout with nicely indented output, all that is needed is

#include < iostream >
#include < wwtxt/xml.hh >

int main(int, char **)
{
xml::document doc;
xml::parser parser(doc);

while(std::cin)
std::cin >> parser;

std::cout << doc << std::endl;
}

This program is available in the src directory as xml_simple.cc. There is a test program test_xmlparser in the src directory, which contains similar code plus some additional things to test the library.

wwtxt 1.11 Screenshot

Advertisements

wwtxt 1.11 Keywords

Bookmark wwtxt 1.11

Hyperlink code:
Link for forum:

wwtxt 1.11 Copyright

WareSeeker periodically updates pricing and software information of wwtxt 1.11 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of wwtxt 1.11 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
AGT is an iptables firewall administration tool with an ipf-like configuration syntax. Free Download
Text::VimColor is a syntax color text in HTML or XML using Vim. Free Download
VTD-XML is a non-extractive XML processing software API implementing Virtual Token Descriptor. Free Download
libiconv is a character set conversion library, portable iconv implementation. Free Download
XML Copy Editor is an XML editor with DTD/XML Schema/RELAX NG validation. Free Download
bit is a C++ library for manipulating buffers containing data fields that are not octet (byte) aligned. Free Download
Test::Parser is a collection of parsers for different test output file formats. Free Download
XML::SAX is a simple API for XML. Free Download