Markup

转载 2006年06月05日 17:11:00

Chapter 2. Markup and Core Concepts

There's a Far Side cartoon by Gary Larson about an unusual chicken ranch. Instead of strutting around, pecking at seed, the chickens are all lying on the ground or draped over fences as if they were made of rubber. You see, it was a boneless chicken ranch.

Just as skeletons give us vertebrates shape and structure, markup does the same for text. Take out the markup and you have a mess of character data without any form. It would be very difficult to write a computer program that did anything useful with that content. Software relies on markup to label and delineate pieces of data, the way suitcases make it easy for you to carry clothes with you on a trip.

This chapter focuses on the details of XML markup. Here I will describe the fundamental building blocks of all XML-derived languages: elements, attributes, entities, processing instructions, and more. And I'll show you how they all fit together to make a well-formed XML document. Mastering these concepts is essential to understanding every other topic in the book, so read this chapter carefully.

All of the markup rules for XML are laid out in the W3C's technical recommendation for XML version 1.0 (http://www.w3.org/TR/2000/REC-xml-20001006). This is the second edition of the original which first appeared in 1998. You may also find Tim Bray's annotated, interactive version useful. Go and check it out at http://www.xml.com/axml/testaxml.htm.

     
 
[ Team LiB ]

相关文章推荐

The content of elements must consist of well-formed character data or markup

java 中使用dom4j解析含有特殊字符的xml文件出现了如题的错误 这个时候需要在特殊字符外面加上 [html] view plaincopy x...

javascript DOM编程艺术笔记——CH7 creating markup on the fly

动态创建标记 动态创建标记 传统documentwrite innerHTML dom方法createElement createTextNode appendChild insertBefore 重...

XML即可扩展标记语言(Extensible Markup Language)

标记是指计算机所能理解的信息符号,通过此种标记,计算机之间可以处理包含各种信息的文章等。如何定义这些标记,既可以选择国际通用的标记语言,比如HTML,也可以使用象XML这样由相关人士自由决定的标记语言...

Professional JS(11.4.4-Markup Insertion/Scrolling/Event Flow/Event Handler/Event Object(part))

1.Markup Insertion(插入标记) ①The innerText property works with all text content contained with an elem...

org.dom4j.DocumentException: Error on line 1 of document : The markup in the document following the

出错记录: org.dom4j.DocumentException: Error on line 1 of document  : The markup in the document followi...

XAML实例教程系列 - 标记扩展(Markup Extensions)

本人学习metro开发的过程中,首先需要学习xaml。在查找资料的过程中,发现银光中国论坛中的一个系列教程写的不错,现在转载过来。原创地址:http://www.silverlightchina.ne...

XAML实例教程系列 - 标记扩展(Markup Extensions)

作为描述性语言,XAML使用对象元素声明和其属性调用实现不同操作。在实际项目开发中XAML为控件属性赋值,经常会遇到设计时属性值处于未知状态,而该属性值只有在应用运行时才能获取到,通过简单的XAML属...
  • jv9
  • jv9
  • 2012-06-21 13:00
  • 3085

fuseTools下 如何融合使用 javaScript,Uno Program,Ux MarkUp

通过几天fuse官网的游荡(毕乐苟,全英文),分享一下近期的所得: 1.Uno, 根据官网的说法,雷同于c#,但多多少少也不同  (666),官网给了一些区别点,但暂时不去深聊,知道它的语法类似于c#...

XML - 可扩展标记语言 (Extensible Markup Language)

XML - 可扩展标记语言 (Extensible Markup Language)XML 是英文 Extensible Markup Language 的缩写,它的中文意思是 "可扩展标记语言"。编...

Where is the best place to put <script> tags in HTML markup?

转自:http://stackoverflow.com/questions/436411/where-is-the-best-place-to-put-script-tags-in-html-mark...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)