一聚教程网:一个值得你收藏的教程网站

热门教程

XML Basic-from w3schools.com

时间:2022-07-02 11:48:21 编辑:袖梨 来源:一聚教程网

In our XML tutorial you will learn what XML is and the difference between XML and HTML. You will also learn how to start using XML in your applications.
Introduction to XML
--------------------------------------------------------------------------------
XML was designed to describe data and to focus on what data is.
HTML was designed to display data and to focus on how data looks.
--------------------------------------------------------------------------------
What you should already know
Before you continue, you should have some basic understanding of the following:
WWW, HTML and the basics of building Web pages
Web scripting languages like JavaScript or VBScript
If you want to study these subjects first, before you start reading about XML, you can find the tutorials you need at W3Schools' Home Page.
--------------------------------------------------------------------------------
What is XML?
XML stands for EXtensible Markup Language
XML is a markup language much like HTML
XML was designed to describe data
XML tags are not predefined. You must define your own tags
XML uses a Document Type Definition (DTD) or an XML Schema to describe the data
XML with a DTD or XML Schema is designed to be self-descriptive
--------------------------------------------------------------------------------
The main difference between XML and HTML
XML was designed to carry data.
XML is not a replacement for HTML.
XML and HTML were designed with different goals:
XML was designed to describe data and to focus on what data is.

热门栏目