【发布时间】:2015-11-04 22:30:39
【问题描述】:
在inDesign中标记单个内容然后将其导出为xml很容易。
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Root><content>Simple text block</content></Root>
我正在努力做的是让它在另一组标签中导出标签/内容。 示例:我想标记我的文档,以便它像这样导出:
<?xml version='1.0' encoding='UTF-8'?>
<article>
<id>123</id>
<content>
<body>Some text</body>
<headline>Some other text</headline>
</content>
</article>
当我导出 xml 时,我得到以下信息:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<article>
<content>Simple text block</content>
<id>123</id>
<content></content>
<body>Some text</body>
<headline>Some other text</headline>
</article>
如何标记元素,以便在另一组标签中导出标签/内容?
【问题讨论】:
标签: xml tagging adobe-indesign