+ 1

How to add a line break in a xml document

I want add a line break in a xml document

8th Apr 2019, 3:32 AM
Aswarth M
Aswarth M - avatar
6 ответов
+ 4
<br /> Doesn't work in XML. I don't know how to do it with css, only with the tags I suggested. Sorry for the late reply. Right now, I'm praying for some spare time to sit on my laptop and run some tests. When I figure it out, I'll let you know. That is, unless someone else knows the answer to that and shares his/her point of view.
8th Apr 2019, 1:13 PM
Vasilis Karapas
Vasilis Karapas - avatar
+ 3
Write content in separate tags as this will result in a line break. Also try using \n or \r.
8th Apr 2019, 4:06 AM
Vasilis Karapas
Vasilis Karapas - avatar
+ 2
Here is the answer from stackoverflow.com https://stackoverflow.com/questions/35504890/how-to-add-a-newline-line-break-in-xml-file Scroll down to the part with cdata. That should be the answer you want.
8th Apr 2019, 1:57 PM
Michael Williams
Michael Williams - avatar
+ 1
Have you tried <br />? Example Line 1 <br /> Line 2 <br />
8th Apr 2019, 1:06 PM
Michael Williams
Michael Williams - avatar
0
Thank you Could you help me with css(like how can I do it) I want the text to be in the same tag
8th Apr 2019, 4:20 AM
Aswarth M
Aswarth M - avatar
0
Ok thanks will try
8th Apr 2019, 2:52 PM
Aswarth M
Aswarth M - avatar