I need to modify how the Romeo & Juliet example works so that the
parser.parse(a,b) works differentlly.
Specifically, I would like to be able to pass a memory-only JDOM tree as the
first parameter instead of a disk-based XML file. I can write the output to
a ByteArrayOutputStream with no problems if I use a disk-based XML file.
I've tried using a String per the parser.parse API options, but get a
strange Exception.
Is it possible to use a JDOM tree (perhaps read into some stream) as the
input for the SAXParser parser.parse(...,...) method call?
Any example would be appreciated!
Thanks.
M
_________________________________________________________________
More photos, more messages, more storageget 2GB with Windows Live Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/