0

I don't know what code language, but I want move text to another line.

My code:

      <Task Talk=" 0{Hello, {ff0000}This text to another line, how?..{-}}" Teleports="-1" YuanBaoComplete="-1" TaskZhangJieID="1" TaskIndexOfZhangJie="0"  />

I'm trying put {\n} but don't working.

Ned
  • 23
  • 3
  • Please explain, maybe show, more about how exactly you try `put {\n}`. Maybe then somebody can guess at the programming language. – Yunnosch Jan 09 '20 at 16:40
  • Please explain, maybe show, more about how exactly "don't working". How does it fail? What did you expect? What does happen? – Yunnosch Jan 09 '20 at 16:41
  • Does not work. After this text I'm converting to myfilebin.txt. – Ned Jan 09 '20 at 16:50

1 Answers1

0

XML is a data format that gets its meaning from other applications and standards that use it. Your question cannot be answered with satisfying detail because it does not specify the application or standard that defines what the Task element or its Talk attribute means.

For an application-independent treatment of how to get newlines to work in XML, see

but be aware that identifying the application or standard associated with the XML is preferable.

kjhughes
  • 106,133
  • 27
  • 181
  • 240
  • @Yunnosch: I felt there was enough value in my response to justify classifying it as an "answer" to a gracious interpretation of the question asked. When to downvote, vote to close, comment, or answer is a judgement call. I am also open to follow-ups and amending my answer. I hope you see value in the route I took in this case. – kjhughes Jan 09 '20 at 16:48
  • I see some value in there, which does make it an answer. I just stumbled over "I answer this unanswerable question". Won't downvote though. If you are open for proposal "The question cannot be answered with satisfying detail because ... . But generally ..." – Yunnosch Jan 09 '20 at 16:51
  • I'm onvert the xml file to myfilebin.txt. – Ned Jan 09 '20 at 16:53
  • @Yunnosch: Fair enough. Answer updated to address your concerns. Thank you. – kjhughes Jan 09 '20 at 16:55
  • 1
    @Ned: Then realize that your question is more about an unspecified conversion program than it is about XML or any of the highly abstract other tags you've used here. If you're looking for understanding, read my answer and the associated Q/A link. If you're looking for a quick fix, you can't have one without directing your question specifically to be about the unspecified conversion program itself. – kjhughes Jan 09 '20 at 17:01