ezXML

Description

ezXML is a C library for parsing XML documents inspired by simpleXML for PHP. As the name implies, its easy to use. Its also fast and lightweight (less than 20k compiled). Example Usage Given the following example XML document: < ?xml version="1.0"?> < formula1> < team name="McLaren"> < driver> < name>Kimi Raikkonen< /name> < points>45< /points> < /driver> < driver> < name>David Coultard< /name> < points>24< /points> < /driver> < /team> < /formula1> This code snippet prints out a list of drivers, which team they drive for, and how many championship points they have: ezxml_t f1 = ezxml_parse_file("formula1.xml"), team, driver; const char *teamname; for (team = ezxml_child(f1, "team"); team; team = team->next) { teamname = ezxml_attr(team, "name"); for (driver = ezxml_child(team, "driver"); driver; driver = driver->next) { printf("%s, %s: %sn", ezxml_child(driver, "name")->txt, teamname, ezxml_child(driver, "points")->txt); } } ezxml_free(f1); Alternately, the following would print out the name of the second driver of the first team: ezxml_t f1 = ezxml_parse_file("formula1.xml"); printf("%sn", ezxml_get(f1, "team", 0, "driver", 1, "name", -1)->txt); ezxml_free(f1); The -1 indicates the end of the argument list. Thats pretty much all there is to it. Complete API documentation can be found in ezxml.h. Limitations:.

Php - Xml Documents - C Library - Ezxml - Driver - Team - Name - Documents - Markup - Text Editing Processing

Published By:Aaron Voisine

License Type:Freeware

Date Added:22 October, 2010

Version:0.8.6

Price:Free

Downloads:200

Size:17.4 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

mywebcreator is software for creating online diaries or blogs. mywebcreator project requires either PHP and MySQL or the .NET Framework 2 or higher.

DateAug 8, 2010

Authorbapuli

Size42.0 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

PHP Online RPG project is an graphical online RPG. This RPG uses only the browser to create a vast world. The power of html tables allow us to create a graphical online rpg that is fast, and vivid. The only requirements are a browser and patience.

DateSep 27, 2010

AuthorAdam Hallett

Size2.5 MB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Games

PHP FastFileCache caches output from dynamic PHP scripts, and stores them in files for fast retrieval under high server load..

DateAug 23, 2010

AuthorAke Wallebom

Size2.0 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

ffGallery is a customizable, simple, web photo gallery written with PHP and javascript. ffGallery uses the SAJAX toolkit and CSS to present the user with a flashy interface. Tested and works in the following browsers: &middot; Firefox 1.0.

DateAug 30, 2010

Authorakehrer

Size32.8 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Multimedia

PHP Personal Movie Database lets you organise (add/edit/delete) and display your movies list (DVD, SVCD, VCD, DIVX, etc.). Features include the ability to retrive information (title, actor, poster, etc.

DateAug 18, 2010

AuthorAlan

Size204.8 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming