VTD-XML: The Future of XML Processing

SourceForge.net Logo

Sourceforge Home

Mailing Lists

XimpleWare

Download


VTD-XML Home

 

6. Token Type Table


Type value

Type Name

Example

Variable Name

0

Start Tag

<example>

TOKEN_STARTING_TAG

1

End Tag

</example>

TOKEN_ENDING_TAG

2

Attribute Name

<example attrName1="this">

TOKEN_ATTR_NAME

3

Name Space

<ns:example xmlns:ns="google">

TOKEN_ATTR_NS

4

Attribute Value

<example property2="that">

TOKEN_ATTR_VAL

5

Character Data

<example>tasty fruit </example>

TOKEN_CHARACTER_DATA

 

6

Comment

<!-- this is a comment -->

TOKEN_COMMENT

7

Processing Instruction name

<?target street="mission" ?>

TOKEN_PI_NAME

 

8

Processing Instruction value

<?target street="mission" ?>

TOKEN_PI_VAL

 

9

XML declaration property name

<?xml version="1.0" ?>

 

TOKEN_DEC_ATTR_NAME

 

10

XML declaration  property value

<?xml version="1.0" ?>

 

TOKEN_DEC_ATTR_VAL

 

11

CDATA value

<![CDATA[…data content…]]>

TOKEN_CDATA_VAL

12

DOCTYPE

<!DOCTYPE >

TOKEN_DTD_VAL

 

VTD in 30 seconds

VTD+XML Format

User's Guide

  0. Introduction

  1. Goals and Features   

  2. How to Process XML

  3. Navigate VTD

   4.Classes/Interfaces and Methods

  5. Comparison with DOM, SAX, and Pull

  6. Table for Token Types

  7. The C version VTD-XML

Developer's Guide

VTD: A Technical Perspective

Code Samples

FAQ

Getting Involved

Articles and Presentations

Benchmark

API Doc

Demo