Hello Everybody,
can somebody help me out, my problem is the following =>
I have an xmlDocument with a CDATA section where I like to add the Blob data but I'm not sure how.
I have this like:
InputStream myInStr = myBlob.getBinaryStream();
Element myRootElement = myDoc.getRootElement();
Element myItem = new Element( "datafromblob" );
myRootElement.addContent(myItem);
myItem.addContent(new CDATA( ...don't know how to add ) );
Can somebody tell me how I can say to this addContent that the CDATA should contains myBlob??
can somebody help me out, my problem is the following =>
I have an xmlDocument with a CDATA section where I like to add the Blob data but I'm not sure how.
I have this like:
InputStream myInStr = myBlob.getBinaryStream();
Element myRootElement = myDoc.getRootElement();
Element myItem = new Element( "datafromblob" );
myRootElement.addContent(myItem);
myItem.addContent(new CDATA( ...don't know how to add ) );
Can somebody tell me how I can say to this addContent that the CDATA should contains myBlob??