[英]Split the String by colon and display in new line from xml
我在xml标签中有这样的字符串:
He is what do you need to study: <Enter>
(i) Study chapter by chapter.
(ii) Work out the revision question.
但它的显示是这样的
He is what do you need to study:(i) Study chapter by chapter.(ii) Work out the revision question.
那么我怎样才能在xml中显示它的样子。
假设您使用的是HTML:
Here is what do you need to study:
<ul type="upper-roman">
<li>Study chapter by chapter.</li>
<li>Work out the revision question.</li>
</ul>
你的意思是这样的?
<div>
Here is what do you need to study:
<ul type="upper-roman">
<li style="padding-left:20pt" >Study chapter by chapter.</li>
<li style="padding-left:20pt" >Work out the revision question.</li>
</ul>
</div>
<?xml version="1.0"?> <a> <![CDATA[ He is what do you need to study: <Enter> (i) Study chapter by chapter. (ii) Work out the revision question. ]]> </a>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.