Business
Desktop Enhancements
Drivers
Games
Home & Education
HTML
Advanced Editors
Beginner Editors
Color Pickers
HTML to ASCII
Image Mapping
Index Generators
Link Verification
Misc. Tools
Scripting Tools
Site Mapping
Style Sheets
Text Editors
XML Tools
Info Management
Internet
MP3 and Audio
Multimedia
Programming
Utilities
Quick Slide Show
Cookbook Wizard
FlexiMusic Wave Editor
Recover Files
Bar Drinks Wizard
Recipe Minder Cookbook Software
Recipes Ship
ChinaFood Recipe
Recipe Center
Recipe Minder
Kitchen for Windows
VZO Mobile Video Phone
EventLog Inspector
Shadow Security Scanner
ODPHPTools for Xcode
Stamp Page Creator
Agama Web Menus
Phone Number Reverse Search
TextToWav
Able Submitter
Fax Server Pro
CoffeeCup Sitemapper
Registry Clean Easy
SharePoint Permission Report
Advanced SystemCare
Shop Compare Prices
SiGe-Manager
SpringPublisher Pro
Rich Snippet Converter
Smart Internet Explorer Fixer Pro
EML to PDF Converter
Mobile Phone Repair Tool
Birdie EML to MBOX Converter
Smart Explorer Not Responding Fixer Pro
1 Smart Protector Pro - Internet Eraser
INTEL Webcam Software
DriverXP For Toshiba
Bopup Messenger
Kate`s Video Cutter 7
Webcam Motion Detector
Add To Quality Center Excel Add
Trackback Url For This Post
Delphi Forums
Codegear Delphi Forums
Delphi Forums Cbp
Seo Services Company Provide Seo Service
Delphi Forums Chat Rooms
Seo Stats And Site Analysis
Astroscan S Earth Vistas Screen Saver
Raj Wap Video X
Syria Talk Messenger Mobile
Bijoy Bangla Font Sutonny Mj
Photo Editing Software For Nokia E5 Free
Best Lotus Notes Emoticons Download
Bijoy Bangla Font Sutonny Mj BoldezXML 0.8.6
Software ID: 112732| Dialup | (56k) | - | 03 s |
| ISDN | (128k) | - | 02 s |
| DSL | (512k) | - | 01 s |
| Cable | (1024k) | - | 01 s |
| T1 | (1484k) | - | 01 s |
ezXML 0.8.6 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. Version restrictions: - ezXML is not a validating parser. - Loads the entire XML document into memory at once and does not allow for documents to be passed in a chunk at a time. Large XML files can still be handled though through ezxml_parse_file() and ezxml_parse_fd(), which use mmap to map the file to a virtual address space and rely on the virtual memory system to page in data as needed. - Does not currently recognize all possible well-formedness errors. It should correctly handle all well-formed XML documents and will either ignore or halt XML processing on well-formedness errors. More well-formedness checking will be added in subsiquent releases. - In making the character content of tags easy to access, there is no way provided to keep track of the location of sub tags relative to the character data. Example: < doc>line one< br/> line two< /doc> - The character content of the doc tag is reported as "line onenline two", and < br/> is reported as a sub tag, but the location of < br/> within the character data is not. The function ezxml_toxml() will convert an ezXML structure back to XML with sub tag locations intact. Enhancements: - A bug was fixed in ezxml_add_child() that could occur when adding tags out of order. - For consistency, ezxml_set_attr() now returns the tag given. - ezxml_move() was added, along with its supporting functions ezxml_cut() and ezxml_insert(). - A bug was fixed where parsing an empty file could cause a segfault.