[jdom-interest] Building a small portion of a document

travis at thinkvirtual.com travis at thinkvirtual.com
Wed Mar 27 09:11:29 PST 2002


I am wondering if you can build a document from a certain element in an xml stream and have it stop building at the end of that element...

ex: 
<a>
 <b> // start build here at element b
   <c>text</c>
 </b> // end build here
</a>

So this would totally skip the A, but at the sametime wouldn't throw the improper format exception.  Now I realize this is a SAXException, so is there anyway to do that with SAX?

Travis Reeder
Chief Software Architect
www.ThinkVirtual.com




More information about the jdom-interest mailing list