开发者

Manipulating a file that is like XML

开发者 https://www.devze.com 2023-03-06 15:52 出处:网络
I have a file that I want to read and开发者_运维知识库 manipulate.It is XML like but is not an actual XML file.It does reference a DTD however.What part of the .Net framework can I use to do the above

I have a file that I want to read and开发者_运维知识库 manipulate. It is XML like but is not an actual XML file. It does reference a DTD however. What part of the .Net framework can I use to do the above? Will the XML API's work some how with this file?


Based on your reply to my comments, it sounds like if all that is different from a standard XML document is the lack of a header, the tools should work perfectly fine with that data. I would give System.Xml a try, and if that doesn't work, try prepending the header.

0

精彩评论

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

关注公众号