Did you try using XmlCursor? Cezar
> -----Original Message----- > From: Satish Kumar [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 06, 2006 12:42 AM > To: [email protected] > Subject: Base64 Decoding > > Hi, > > Need some clarifactions ! XSD contains an element whcih is of type > "base64Binary". After unmarshlling the XML, i use the method > "getByteArrayValue()" to fecth the value. XML beans automatically invokes > its Base64 and decodes my object value, and returns me the decoded value. > I dont want this to happen, i would like to get the encoded value as it > is. > > I even tried using the method getStringValue(), this returns me the > encoded value only, but internally XMLBeans decodes it to check whether > the value is a valid Base64. I dont want this to happen, how can it be > done. > > I need this in a case where an external application fisrt encodes a value > and then sends it in small chunks by multiple xml's to our application. > Our application will receive all the XML then concatenate the received > bytes of this element and then only decode it. > > > Thanks !!! > > Rgds, > Satish > > > > > <http://adworks.rediff.com/cgi- > bin/AdWorks/sigclick.cgi/www.rediff.com/signature- > home.htm/[EMAIL PROTECTED]> _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

