[jdom-interest] Adding content to CDATA
jyin at qualcomm.com
Mon Sep 22 10:08:17 PDT 2003
I am new using JDOM to create my XML file, but I have a question regarding
how to add binary content into CDATA. I have a java method to read in a
file (e.g. PDF), and the method returns the content of the file in
ByteArrayOutputStream data type. I want to pass the content into the CDATA
section as is, and so far I found JDOM's CDATA requires a String data
type. Can anyone provide me with some hints on how to set the CDATA
content with Binary input???
Thanks for your assistance.
Best, Joseph Yin
Joseph C. Yin, MSBA (IS Auditing) Location: S-204A
Analyst Phone# (858) 651-0316
Incorporated. Fax # (858) 658-1011
IT Product Development Services EMail : jyin at qualcomm.com
"TEAM - Together Everyone Accomplishes More"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jdom-interest