0

我在 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 中一样显示它。

4

2 回答 2

2

假设您使用的是 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>
于 2013-02-22T18:57:26.320 回答
0
<?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>
于 2013-02-22T18:58:45.530 回答