资料介绍
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.
XML
加入交流群
扫码添加小助手
加入工程师交流群
下载该资料的人也在下载
下载该资料的人还在阅读
更多 >
- Your First PLC入门篇
- 全志D1-H Tina Development Document
- 基于模糊集和概率分布的XML模型及计算 1次下载
- XML HttpRequest的详细程序讲解 1次下载
- 基于节点集的XML查询 0次下载
- 紫金桥软件读写XML文件的方法 0次下载
- MTK自带的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库一览 1.8k次阅读
- 动态模板语义分析-动态绑定XML 1.3k次阅读
- XML格式文件详解 5.2k次阅读
- 什么是XML? 2.1k次阅读
- KUKA机器人TCP/IP连接出现EKI00006故障如何解决呢 3.3k次阅读
- 一文详解FIFO处理机制 4.5k次阅读
- 第一次进行的鸿蒙系统应用开发笔记 3.1k次阅读
- XML基础——XML必须知道的入门知识 2.7k次阅读
- 如何从HTML或XML文件中提取数据的Python爬虫库Beautiful Soup概述 2.6w次阅读
- Python的安全问题,你必须注意!总结的10个Python常见安全漏洞 1.7w次阅读
- 谷歌的AI first战略,一年成果究竟如何? 789次阅读
- 编程要注意不允许有匹配 [xX][mM][lL] 的处理指令目标。 5.9k次阅读
- Android string.xml中的空格以及换行符的写法 1.5w次阅读
- 田洪川VS2005视频教程:利用DataSet操作XML 1.7k次阅读
- 田洪川VS2005视频教程:XML概述、概念、语法 1.8k次阅读
下载排行
本周
- 1瑞斯特半导体E05D2-11UB
- 2.05 MB | 1次下载 | 免费
- 2人形机器人执行、感知系统技术及市场解析
- 3.52 MB | 1次下载 | 免费
- 3E05S9-10UB
- 2.02 MB | 次下载 | 免费
- 4E05T2-41RU
- 2.13 MB | 次下载 | 免费
- 5MOSFET和GaN FET应用手册
- 15.84 MB | 次下载 | 7 积分
- 6安川CH700变频器程序手册
- 6.60 MB | 次下载 | 3 积分
- 7A-59F_多功能语音处理模组规格书
- 2.89 MB | 次下载 | 免费
- 8CT80410TDZ数据手册
- 2.40 MB | 次下载 | 免费
本月
- 1AU6815P 内置 DSP 的 2×32W 立体声 I2S数字输入D类功放芯片中文资料
- 1.37 MB | 3次下载 | 免费
- 2PC4139 32V低噪音大电流白光LED恒流驱动器数据手册
- 1.57 MB | 2次下载 | 免费
- 3A-29回音消除模块
- 1.28 MB | 2次下载 | 免费
- 4 双麦阵列回音消除及降噪模块 A-47 说明书
- 1.96 MB | 2次下载 | 免费
- 5DCF-16K产品说明书
- 151.80 KB | 1次下载 | 免费
- 6AU-48双麦多功能语音处理模组规格书
- 1.30 MB | 1次下载 | 免费
- 7AP-0316_多功能语音处理模组规格书-通用版本
- 2.86 MB | 1次下载 | 免费
- 8瑞斯特RSTD2080-RST 20V/80A 超低内阻MOSFET技术解析
- 0.01 MB | 1次下载 | 免费
总榜
- 1matlab软件下载入口
- 未知 | 935137次下载 | 10 积分
- 2开源硬件-PMP21529.1-4 开关降压/升压双向直流/直流转换器 PCB layout 设计
- 1.48MB | 420064次下载 | 10 积分
- 3Altium DXP2002下载入口
- 未知 | 233095次下载 | 10 积分
- 4电路仿真软件multisim 10.0免费下载
- 340992 | 191469次下载 | 10 积分
- 5十天学会AVR单片机与C语言视频教程 下载
- 158M | 183360次下载 | 10 积分
- 6labview8.5下载
- 未知 | 81608次下载 | 10 积分
- 7Keil工具MDK-Arm免费下载
- 0.02 MB | 73833次下载 | 10 积分
- 8LabVIEW 8.6下载
- 未知 | 65991次下载 | 10 积分
电子发烧友App





创作
发文章
发帖
提问
发资料
发视频
上传资料赚积分
评论