我已经安装了 GNU emacs 23.2.1 和 nxml-mode-20041004。
我想使用 xsd 文件验证 xml 文件,但 emacs 提示
没有可用于文件扩展名“xsd”的模式加载器
我如何为 xsd 文件扩展名制作这个加载器?
多谢指教
最佳答案
您不能使用 W3C XML 架构 (xsd)。 Emacs nxml-mode 使用紧凑语法 RELAX NG 模式 (rnc) 验证 XML 文档。
有关详细信息,请参阅 http://infohost.nmt.edu/tcc/help/pubs/rnc/ .
关于xml - 如何使用 emacs nxml 模式使用 xsd 模式验证某些 xml 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4457404/