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"
Line 7: | Line 7: | ||
<div style="width:900px"> | <div style="width:900px"> | ||
<source lang="java"> | <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> | </source> | ||
</div> | </div> |
Revision as of 12:25, 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)