1

I can't find any documentation about what the expat-parser does and does not support in terms of XML tags. I know that in the general case expat lets the event handlers (implemented by the user) deal with the tags, but specifically I would like to know if expat supports any sort of file inclusion tag.

The idea would be to extract common sections of XML into a single file and then include that file where necessary in the XML files which contain that data.

If anyone knows the direct answer to this that would be greatly appreciated, however I would also accept a pointer to some documentation.

4

1 回答 1

0

我找不到任何文档,我只能假设这是不可能的。我想外籍用户可以通过定义一个标签处理程序自己实现这一点,该标签处理程序将根据标签中的值打开一个新的 XML 文件并在该文件上调用适当的方法。

于 2015-01-27T18:27:46.710 回答