VTD-XML: The Future of XML Processing

SourceForge.net Logo

Sourceforge Home

Mailing Lists

XimpleWare

Download


VTD-XML Home

 

Developer's Guide

0. Objective

In this article, you will see, step by step, how VTD-XML processes a sample XML file. The main components of the parsed representation are VTD records ,Location Caches, and the XML file itself, which is kept intact and un-decoded.

The sample file is shown below.

<?xml version="1.0"?>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://purl.org/rss/1.0/">

  <channel rdf:about="http://www.xml.com/xml/news.rss">
    <title>XML.com</title>
    <description>
      XML.com features a rich mix of information and services
      for the XML community.
    </description>
  </channel>
 
  <item rdf:about="http://xml.com/pub/2000/08/09/xslt/xslt.html">
    <title>Processing Inclusions with XSLT</title>
    <description>
     This article proposes a way of preserving inclusion
     information through SAX-based processing.
    </description>
  </item>
 
  <item rdf:about="http://xml.com/pub/2000/08/09/rdfdb/index.html">
    <title>Putting RDF to Work</title>
    <link>http://xml.com/pub/2000/08/09/rdfdb/index.html</link>
    <description>
     Tool and API support for the Resource Description Framework
     is slowly coming of age.
    </description>
  </item>

</rdf:RDF>

 


 

VTD in 30 seconds

VTD+XML Format

User's Guide

Developer's Guide

 0. Objective

 1. VTD Records

 2. LC Entries

 3. Other Outputs

VTD: A Technical Perspective

Code Samples

FAQ

Getting Involved

Benchmark

API Doc

Demo