Python xml etree DTD from a StringIO source?

前端 未结 2 965
日久生厌
日久生厌 2021-01-06 09:23

I\'m adapting the following code (created via advice in this question), that took an XML file and it\'s DTD and converted them to a different format. For this problem only t

2条回答
  •  悲哀的现实
    2021-01-06 09:55

    You could probably use a custom resolver. The docs actually give an example of doing this to provide a dtd.

提交回复
热议问题