资料介绍
This chapter teaches you how to create simple XML documents
with tags you define that make sense for your
document. You’ll learn how to write a style sheet for the document
that describes how the content of those tags should
be displayed. Finally, you’ll learn how to load the documents
into a Web browser so that they can be viewed.
Since this chapter will teach you by example, and not from
first principals, it will not cross all the t’s and dot all the i’s.
Experienced readers may notice a few exceptions and special
cases that aren’t discussed here. Don’t worry about these;
you’ll get to them over the course of the next several chapters.
For the most part, you don’t need to worry about the
technical rules right up front. As with HTML, you can learn
and do a lot by copying simple examples that others have
prepared and modifying them to fit your needs.
Toward that end I encourage you to follow along by typing in
the examples I give in this chapter and loading them into the
different programs discussed. This will give you a basic feel
for XML that will make the technical details in future chapters
easier to grasp in the context of these specific examples.
Hello XML
This section follows an old programmer’s tradition of introducing
a new language with a program that prints “Hello World” on
the console. XML is a markup language, not a programming language;
but the basic principle still applies. It’s easiest to get
started if you begin with a complete, working example you can
expand on rather than trying to start with more fundamental
pieces that by themselves don’t do anything. And if you do
encounter problems with the basic tools, those problems are a lot easier to debug and fix in the context of the short, simple documents used here
rather than in the context of the more complex documents developed in the rest of
the book.
In this section, you’ll learn how to create a simple XML document and save it in a
file. We’ll then take a closer look at the code and what it means.
with tags you define that make sense for your
document. You’ll learn how to write a style sheet for the document
that describes how the content of those tags should
be displayed. Finally, you’ll learn how to load the documents
into a Web browser so that they can be viewed.
Since this chapter will teach you by example, and not from
first principals, it will not cross all the t’s and dot all the i’s.
Experienced readers may notice a few exceptions and special
cases that aren’t discussed here. Don’t worry about these;
you’ll get to them over the course of the next several chapters.
For the most part, you don’t need to worry about the
technical rules right up front. As with HTML, you can learn
and do a lot by copying simple examples that others have
prepared and modifying them to fit your needs.
Toward that end I encourage you to follow along by typing in
the examples I give in this chapter and loading them into the
different programs discussed. This will give you a basic feel
for XML that will make the technical details in future chapters
easier to grasp in the context of these specific examples.
Hello XML
This section follows an old programmer’s tradition of introducing
a new language with a program that prints “Hello World” on
the console. XML is a markup language, not a programming language;
but the basic principle still applies. It’s easiest to get
started if you begin with a complete, working example you can
expand on rather than trying to start with more fundamental
pieces that by themselves don’t do anything. And if you do
encounter problems with the basic tools, those problems are a lot easier to debug and fix in the context of the short, simple documents used here
rather than in the context of the more complex documents developed in the rest of
the book.
In this section, you’ll learn how to create a simple XML document and save it in a
file. We’ll then take a closer look at the code and what it means.
下载该资料的人也在下载
下载该资料的人还在阅读
更多 >
- Your First PLC入门篇
- 全志D1-H Tina Development Document
- 基于模糊集和概率分布的XML模型及计算 1次下载
- Python语言的特点和使用Python对XML文件的数据进行解析说明 6次下载
- XML HttpRequest的详细程序讲解 1次下载
- 基于节点集的XML查询 0次下载
- 紫金桥软件读写XML文件的方法 0次下载
- 基于XML的电子政务系统设计
- 生产调度系统中的XML通讯模型及实现
- Microsoft Core XML Services (M
- An Introduction to XML Applica
- An Eagle’s Eye View of XML
- xml specification
- xml教程pdf (XML终极教程下载) 0次下载
- xml教程下载 0次下载
- 1000+常用Python库一览 983次阅读
- 动态模板语义分析-动态绑定XML 540次阅读
- XML格式文件详解 2289次阅读
- 什么是XML? 1000次阅读
- KUKA机器人TCP/IP连接出现EKI00006故障如何解决呢 1920次阅读
- 一文详解FIFO处理机制 3542次阅读
- 第一次进行的鸿蒙系统应用开发笔记 2275次阅读
- XML基础——XML必须知道的入门知识 2085次阅读
- 如何从HTML或XML文件中提取数据的Python爬虫库Beautiful Soup概述 2.5w次阅读
- Python的安全问题,你必须注意!总结的10个Python常见安全漏洞 1.5w次阅读
- 谷歌的AI first战略,一年成果究竟如何? 541次阅读
- 编程要注意不允许有匹配 [xX][mM][lL] 的处理指令目标。 5629次阅读
- Android string.xml中的空格以及换行符的写法 1.4w次阅读
- 田洪川VS2005视频教程:利用DataSet操作XML 817次阅读
- 田洪川VS2005视频教程:XML概述、概念、语法 789次阅读
下载排行
本周
- 1TC358743XBG评估板参考手册
- 1.36 MB | 330次下载 | 免费
- 2开关电源基础知识
- 5.73 MB | 11次下载 | 免费
- 3嵌入式linux-聊天程序设计
- 0.60 MB | 3次下载 | 免费
- 4DIY动手组装LED电子显示屏
- 0.98 MB | 3次下载 | 免费
- 5基于FPGA的C8051F单片机开发板设计
- 0.70 MB | 2次下载 | 免费
- 651单片机窗帘控制器仿真程序
- 1.93 MB | 2次下载 | 免费
- 751单片机PM2.5检测系统程序
- 0.83 MB | 2次下载 | 免费
- 8基于51单片机的RGB调色灯程序仿真
- 0.86 MB | 2次下载 | 免费
本月
- 1OrCAD10.5下载OrCAD10.5中文版软件
- 0.00 MB | 234315次下载 | 免费
- 2555集成电路应用800例(新编版)
- 0.00 MB | 33566次下载 | 免费
- 3接口电路图大全
- 未知 | 30323次下载 | 免费
- 4开关电源设计实例指南
- 未知 | 21549次下载 | 免费
- 5电气工程师手册免费下载(新编第二版pdf电子书)
- 0.00 MB | 15349次下载 | 免费
- 6数字电路基础pdf(下载)
- 未知 | 13750次下载 | 免费
- 7电子制作实例集锦 下载
- 未知 | 8113次下载 | 免费
- 8《LED驱动电路设计》 温德尔著
- 0.00 MB | 6656次下载 | 免费
总榜
- 1matlab软件下载入口
- 未知 | 935054次下载 | 免费
- 2protel99se软件下载(可英文版转中文版)
- 78.1 MB | 537798次下载 | 免费
- 3MATLAB 7.1 下载 (含软件介绍)
- 未知 | 420027次下载 | 免费
- 4OrCAD10.5下载OrCAD10.5中文版软件
- 0.00 MB | 234315次下载 | 免费
- 5Altium DXP2002下载入口
- 未知 | 233046次下载 | 免费
- 6电路仿真软件multisim 10.0免费下载
- 340992 | 191186次下载 | 免费
- 7十天学会AVR单片机与C语言视频教程 下载
- 158M | 183279次下载 | 免费
- 8proe5.0野火版下载(中文版免费下载)
- 未知 | 138040次下载 | 免费
评论
查看更多