J
John
Say I have a String in Java like
"To be or not to be, that is the question.
William Shakespear"
How can I convert it to a xml file that has two nodes, each of which
contains one line of that string? I mean, how do I program to determine the
new line?
<dramma>
<text>To be or not to be, that is the question.</text>
<text>William Shakespear</text>
</drama>
"To be or not to be, that is the question.
William Shakespear"
How can I convert it to a xml file that has two nodes, each of which
contains one line of that string? I mean, how do I program to determine the
new line?
<dramma>
<text>To be or not to be, that is the question.</text>
<text>William Shakespear</text>
</drama>