You could encode the binary data using base64 and put it into a Base64 element; the below article is a pretty good one on the subject.
More Related Contents:
- Normalization in DOM parsing with java – how does it work?
- In Java, how do I parse XML as a String instead of a file?
- How to convert XML to java.util.Map and vice versa?
- The following classes could not be instantiated: – android.support.v7.widget.Toolbar
- How to group a 3×3 grid of radio buttons?
- Spring schemaLocation fails when there is no internet connection
- Using JAXB to cross reference XmlIDs from two XML files
- Converting Decimal to Binary Java
- java.util.Date to XMLGregorianCalendar
- What is the best/simplest way to read in an XML file in Java application? [closed]
- Merge Two XML Files in Java
- Generate Java classes from .XSD files…?
- “Content is not allowed in prolog” when parsing perfectly valid XML on GAE
- Parsing XML with XPath in Java [duplicate]
- Is there a more elegant way to convert an XML Document to a String in Java than this code?
- @XmlPath has no impact during the JAXB Marshalling
- Java + Mysql UTF8 Problem
- How to strip whitespace-only text nodes from a DOM before serialization?
- XML Node to String in Java
- How to convert a Binary String to a base 10 integer in Java
- How to validate XML against XSD 1.1 in Java?
- Java : Convert formatted xml file to one line string
- Java/JAXB: Unmarshall XML attributes to specific Java object attributes
- Best method to parse various custom XML documents in Java
- Jaxb: how to unmarshall xs:any XML-string part?
- Java XML Binding [closed]
- Producing valid XML with Java and UTF-8 encoding
- Externalize query in spring boot application
- Best way for automatic databinding between database and user interface in java swing app?
- What is the need of serialization of objects in Java? [closed]