欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

仔细学习XML XMLUbuntuXSLCC++ 

程序员文章站 2022-03-14 17:19:45
...
要想再提高一步不容易。没有捷径走。回到源头,苦练基本功。

从XML开始,因为用的多。

把XML标准搞透,把一个XML Parser的代码搞透,算是打破第一关。

XML—the Extensible Markup Language—is an approved Recommendation of the World Wide Web Consortium (W3C).

W3C 的等级:

1。 Working Draft (WD)
2。 Candidate Recommendation (CR)
3。 Proposed Recommendation (PR)
4。 W3C Recommendation (REC)

A W3C Recommendation is a specification or set of guidelines that, after extensive consensus-building, has received the endorsement of W3C Members and the Director. W3C recommends the wide deployment of its Recommendations. Note: W3C Recommendations are similar to the standards published by other organizations.

找到了一本书:XML: The Annotated Specification, by Bob DuCharme。好像是找对书了。

XML标准第一版在这:Extensible Markup Language (XML) 1.0 http://www.w3.org/TR/1998/REC-xml-19980210

最新版在这:http://www.w3.org/TR/xml/ 2008-11-26

XML tags must begin with the less-than (<) character and end with the greater-than (>) character, and all entity references must begin with an ampersand (&) and end with a semicolon (;).

XML tag, XML start-tag, XML end-tag, empty-element tag
Entity Reference
Empty XML elements
Document Type Definition (DTD)

XML Specification, along with the XLink, XPointer, and XSL specifications, provides the power and expressiveness to create rich, valuable documents. => XML, XLink, XPointer, and XSL.

Namespaces in XML 1.0 (Second Edition)
W3C Recommendation 16 August 2006
http://www.w3.org/TR/xml-names/

well-formed
valid