My xml source file contains text representing code and the software that saves this to xml format has converted the line breaks in the code to &#10.
I am using xsl to output the contents to html and so need to display the code block properly.
for example if the xml contains:-
Code="line 1
line 2
line 1
"
by default this is displayed in html as:-
line 1 line 2 line 1
i would like this displayed as:-
line 1
line 2
line 3
I am using xsl to output the contents to html and so need to display the code block properly.
for example if the xml contains:-
Code="line 1
line 2
line 1
"
by default this is displayed in html as:-
line 1 line 2 line 1
i would like this displayed as:-
line 1
line 2
line 3