以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 XML基础 』  (http://bbs.xml.org.cn/list.asp?boardid=1)
----  XML FAQ (en)  (http://bbs.xml.org.cn/dispbbs.asp?boardid=1&rootid=&id=53)


--  作者:dancewing
--  发布时间:10/13/2003 11:19:00 PM

--  XML FAQ (en)
XML FAQ
  
1. what is XML?
o       XML stands for Extensible Markup Language
o       It is a meta-markup language (you make up your own tags)
o       XML is not a programming language, it is a data format
o       XML documents can be parsed.
  
2. What is the difference between XML & HTML?
o       XML describes data, HTML displays data.
o       HTML has predefined tags, in XML we define tags
o       HTML can be displayed on its own, XML cannot.
        The combination of XML and HTML is XHTML.
  
3. What is a "well-formed" document?
   The well formed document must obey the basic XML constraints like :
o       All Documents must have a prolog.
o       Document must have a root tag.
o       All begin-tags must have end-tags. (case sensitive)
o       All attribute values must be quoted.
o       Elements must be properly nested.
o       All entities must be declared.
   If a document is not a well-formed document it is not a XML document.
  
4. What is DTD?
Document Type Definition defines the structure of an XML document. A DTD can
be declared inline in your XML document, or as an external reference.
DTD defines :
o       What element (tag) names are allowed
o       What attributes are used with each element
o       Which child elements belong to which parent elements
o       What order child elements can appear in
o       Also declares entities and notations
  
5. What are the building blocks of XML?
o       Elements
o       Attributes
o       Entities
o       Notations
  
6. What is a valid document
      If a document's structure and tag names match the information model, it
is 'valid'. Validation is optional. A valid document is always well-formed.
  
7. What is XSLT?
XSLT is a language for transforming the structure of XML documents. The XSL
Transformations (XSLT) vocabulary provides a rule-based framework for select
ing and processing document content, and transforming it into new documents
  
8. What is XML Parser?
A set of software components designed for reading, processing and creating X
ML documents.
Parsers expose the structures and tags within a XML document thus making it
easy to process XML documents.
  
9. What are the types of Parsers
DOM Vs SAX
o       SAX is event-based and DOM is object-based
o       SAX is developed by XML-Dev mailing list and DOM is a W3C recommendation
o       DOM constructs a tree in memory and SAX does not
o       SAX is read-only and DOM is read-write.
o       SAX uses less memory and is fast & efficient

        We also have Validating and non-validating parsers.
  
10. What is XML family ?
o       Display : XHTML, XSLT, XSL
o       Modeling : DTD, XML Schema
o       Manipulating : DOM, SAX
o       Querying : Xlink, XQL, Xpath


--  作者:semicolon
--  发布时间:10/14/2003 11:12:00 AM

--  
需要翻译成中文的么?
--  作者:smurf
--  发布时间:11/13/2003 11:17:00 AM

--  
too simple! too young!
--  作者:wh
--  发布时间:1/21/2004 1:52:00 PM

--  
xml与电子商务?

--  作者:hbcfg
--  发布时间:8/4/2005 7:59:00 PM

--  
凑和着能看懂一点!
--  作者:coolbugs
--  发布时间:8/12/2005 12:55:00 PM

--  
.....................
--  作者:nnjieguo
--  发布时间:8/29/2005 9:17:00 AM

--  
为什么不能翻译成中文呢
--  作者:nnjieguo
--  发布时间:8/29/2005 9:17:00 AM

--  
e文不行啊~~ 郁闷ing

--  作者:robin21_cn
--  发布时间:10/20/2005 3:14:00 PM

--  
好啊,我喜欢
--  作者:studyism
--  发布时间:10/23/2005 6:51:00 PM

--  
就能看懂一点,看多了就蒙了
--  作者:lywzd
--  发布时间:10/31/2005 4:10:00 PM

--  
还是翻译过来比较好!
--  作者:lywzd
--  发布时间:10/31/2005 4:14:00 PM

--  
不过这样也可以,学计算机肯定要会点英文的.谁让别人在这方面领先呢??
--  作者:matida
--  发布时间:11/14/2005 1:28:00 PM

--  
nice`
--  作者:yanghaiqi
--  发布时间:2/5/2006 10:04:00 PM

--  
很以为楼主是外国人
--  作者:nnmk
--  发布时间:3/5/2006 8:15:00 PM

--  
太少了吧!!
--  作者:nnmk
--  发布时间:3/5/2006 8:24:00 PM

--  
太少了 好像只是解释了几个名词啊
--  作者:avaya2008
--  发布时间:4/5/2006 7:33:00 PM

--  
新手 看了之后 感觉很好 多谢了

--  作者:zlh_100
--  发布时间:4/10/2006 5:23:00 PM

--  
cp的吧
--  作者:syw120
--  发布时间:5/18/2006 11:04:00 AM

--  
看到就晕~~~
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
78.125ms