New line or line break in HTML generated from XML -


i have string in xml should separated new lines when viewed on webpage generated xml.

goal

hello alice,

my name bob.

failed attempts

<description>hello alice,  name bob. </description> 

hello alice, name bob

<description>hello alice, \n name bob. </description> 

hello alice, \nmy name bob

<description>hello alice, &#xa;&#xd; name bob. </description> 

hello alice, name bob.

<description><![cdata[hello alice,<br /> name bob.]]> </description> 

hello alice,<br />my name bob.

is possible, assuming have no control on how html generated xml file (i.e. able edit xml)? if possible, how can produce line break?

i noticed lot of similar questions, haven't found solution (if there exists one). sorry in advance if seems duplicate. also, in advance!


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -