[jdom-interest] [OT] HTML in XML

Robin Rosenberg robin.rosenberg.lists at dewire.com
Thu Apr 22 03:28:25 PDT 2004

On Thursday 22 April 2004 11:36, Eric VERGNAUD wrote:
> Hi,
> Sorry if this is a little off-topic.
> I need to save nodes for which the text value contais HTML tags like <br>
> Is there an official way to encode "fake" tags as text values in Xml ? What
> is the preferred way for doing this with Jdom ?

Just create Text nodes and serialize the document using XMLOutputter and this
will be taken care of automagically. 

-- robin

More information about the jdom-interest mailing list