T
Thorsten Kettner
Hi all,
I've been told to write an xml file and I wonder if I can use CR/LF
and tabs in the data (like in html's <pre></pre>).
<?xml version="1.0" encoding="ISO-8859-15"?>
<MYDATA>
<MYLIST>Line 1
Line 2
Line 3</MYLIST>
</MYDATA>
Will the parser correctly return a string containing two linefeeds?
Or should I use cr identifiers (like \n in Line1\nLine2\nLine3) and
manually split the line that the parser gives me?
I know this is a common question, sorry, but searching Google groups I
didn't find the answer due to being a beginner and due to the fact
that most questions target a certain parser, not xml in general.
I've been told to write an xml file and I wonder if I can use CR/LF
and tabs in the data (like in html's <pre></pre>).
<?xml version="1.0" encoding="ISO-8859-15"?>
<MYDATA>
<MYLIST>Line 1
Line 2
Line 3</MYLIST>
</MYDATA>
Will the parser correctly return a string containing two linefeeds?
Or should I use cr identifiers (like \n in Line1\nLine2\nLine3) and
manually split the line that the parser gives me?
I know this is a common question, sorry, but searching Google groups I
didn't find the answer due to being a beginner and due to the fact
that most questions target a certain parser, not xml in general.