Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 11661

How to express XML with mixed content using Jackson XmlMapper

$
0
0

I need write a Java program that will generate a XML with mixed content. It should more or less like this:

<foo><bar><a></a>Some text<b></b></bar></foo>

I would like to use Jackson XML Mapper to serialize Java objects to XML but I don't know how to build an object equivalent to above XML.


Viewing all articles
Browse latest Browse all 11661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>