开发者

Is it possible to include a DOCTYPE declaration in an XML file and have the parser remove it while working?

开发者 https://www.devze.com 2022-12-28 07:24 出处:网络
Or perhaps have the parser just ignore the DOCTYPE tag in some fashion? I have XML files being used as \"!ENTITY\"s that also themselves need to have \"!ENTITY\"s and I have included the nested ones i

Or perhaps have the parser just ignore the DOCTYPE tag in some fashion? I have XML files being used as "!ENTITY"s that also themselves need to have "!ENTITY"s and I have included the nested ones in the top-level file, but Visual Studio calls out m开发者_JAVA百科y references to those in the 2nd-level files as not defined. Thanks!


If I read your question properly, you have one XML file that includes additional, standalone XML data within in.

Are you wrapping the inner XML data in CDATA sections?

0

精彩评论

暂无评论...
验证码 换一张
取 消