Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "User:Rick.barkhouse.oracle.com/VTD"
(New page: VTD-XML) |
|||
Line 1: | Line 1: | ||
− | VTD-XML | + | =VTD-XML Investigation= |
+ | |||
+ | ==VTD-XML Core Concepts== | ||
+ | |||
+ | ===Unmarshalling a VTD-XML document=== | ||
+ | |||
+ | <div style="width:900px"> | ||
+ | <source lang="java"> | ||
+ | VTDGen vg = new VTDGen(); | ||
+ | |||
+ | // from existing byte[] | ||
+ | // true indicates namespace aware | ||
+ | vg.setDoc(byte[]); vg.parse(true); | ||
+ | |||
+ | // - or - | ||
+ | |||
+ | // from file | ||
+ | vg.parseFile("old.xml",false) | ||
+ | </source> | ||
+ | </div> |
Revision as of 12:24, 14 December 2012
VTD-XML Investigation
VTD-XML Core Concepts
Unmarshalling a VTD-XML document
VTDGen vg = new VTDGen(); // from existing byte[] // true indicates namespace aware vg.setDoc(byte[]); vg.parse(true); // - or - // from file vg.parseFile("old.xml",false)