http://www.w3.org/TR/REC-xml#charsets
Perhaps you could encode the data in BASE64? -----Original Message----- From: Ranjana Srivastava [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 7:36 AM To: [EMAIL PROTECTED] Subject: binary data in an XML file I have a file that has some binary data in one of the elements. when I tried opening this document with an XML editor it gave me some errors.If i try parsing this file with DOM/SAX it gives me a runtime Exception and then machine just hangs up. I then tried adding the binary data in a CDATA section instead. That did not help either. My Questions are: Is it possible to have binary data in an xml file.? Is it possible to parse such a file with DOM/SAX? If yes, some pointers on how to proceed will be appreciated. I am using the Borland C++ builder on a Windows98/2000 machine. Ranjana Srivastava Controller Technologies Corporation 810-532-8400 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
