【发布时间】:2023-04-06 09:50:01
【问题描述】:
你好,
我正在为 Flash 网站开发一个管理面板。其中一个部分包含大量包含回车的文本。它可以是这样的:
John Doe was born in Athens in 1974.
He studied at the Athens School of Fine Arts and he presented his first solo exhibition in 1996.
所以文本从文本区域转到 mysql,然后从 mysql 我生成一个 XML 文件。 问题是 xml 文件源看起来像这样:
John Doe was born in Athens in 1974.
He studied at the Athens School of Fine Arts and he presented his first solo exhibition in 1996.
这种方式在 flash 中的文本在短语之间有一些很大的空格,我不喜欢它。
你能告诉我如何生成这样的 XML 文件吗:
John Doe was born in Athens in 1974.
He studied at the Athens School of Fine Arts and he presented his first solo exhibition in 1996.
谢谢
【问题讨论】:
-
我忘了说我用 PHP 开发这个项目