I'm trying to write an XML-Newsfeed for Wordpress that can be imported through a plugin and then put in to article-section where it can be edited and so on.
This is what i have:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE content>
<content>
<article id="1">
<mainid>
<![CDATA[DE20201201]]>
</mainid>
<titel>
<![CDATA[Titel]]>
</titel>
<picture>
<![CDATA[https://link.png]]>
</picture>
<article-content>
<![CDATA[TEXT, JUST A LOT OF TEXT<br/> EVEN MORE TEXT]]>
</article-content>
<pubdate>2020-12-01 00:00:59</pubdate>
</article>
</content>
My Problem is that the "<br/>
"'s in the element are not interpreted as an actual new line in the article in Wordpress.
I'm a total noob at this stuff, i know there's stuff like xsl and xslt but I'm not sure how all of that is working.
Maybe have also a look to that Stack Overflow - How to add a newline (line break) in XML file?
And use instead of <br/>
Line Feed LF: "
"
Carriage Return CR: "
"