Questions tagged «xml-declaration»


6
的含义-<?xml version =“ 1.0” encoding =“ utf-8”?>
我是XML的新手,我试图了解基础知识。我在“学习XML”中阅读了下面的行,但是对我来说仍然不清楚。有人可以指向我清楚说明这些基础的书或网站吗? 通过学习XML: XML声明描述了文档的一些最常规属性,告诉XML处理器它需要XML解析器来解释该文档。 这是什么意思? 我了解这一xml version部分-文档和文档用户都应该在相同版本的XML中“交谈”。但是那encoding部分呢?为什么有必要?

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.