資料介紹
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文件的數(shù)據(jù)進(jìn)行解析說明 6次下載
- XML HttpRequest的詳細(xì)程序講解 1次下載
- 基于節(jié)點集的XML查詢 0次下載
- 紫金橋軟件讀寫XML文件的方法 0次下載
- 基于XML的電子政務(wù)系統(tǒng)設(shè)計
- 生產(chǎn)調(diào)度系統(tǒng)中的XML通訊模型及實現(xiàn)
- 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次閱讀
- 動態(tài)模板語義分析-動態(tài)綁定XML 540次閱讀
- XML格式文件詳解 2289次閱讀
- 什么是XML? 1000次閱讀
- KUKA機(jī)器人TCP/IP連接出現(xiàn)EKI00006故障如何解決呢 1920次閱讀
- 一文詳解FIFO處理機(jī)制 3542次閱讀
- 第一次進(jìn)行的鴻蒙系統(tǒng)應(yīng)用開發(fā)筆記 2275次閱讀
- XML基礎(chǔ)——XML必須知道的入門知識 2085次閱讀
- 如何從HTML或XML文件中提取數(shù)據(jù)的Python爬蟲庫Beautiful Soup概述 2.5w次閱讀
- Python的安全問題,你必須注意!總結(jié)的10個Python常見安全漏洞 1.5w次閱讀
- 谷歌的AI first戰(zhàn)略,一年成果究竟如何? 541次閱讀
- 編程要注意不允許有匹配 [xX][mM][lL] 的處理指令目標(biāo)。 5629次閱讀
- Android string.xml中的空格以及換行符的寫法 1.4w次閱讀
- 田洪川VS2005視頻教程:利用DataSet操作XML 817次閱讀
- 田洪川VS2005視頻教程:XML概述、概念、語法 789次閱讀
下載排行
本周
- 1BT134雙向可控硅手冊
- 1.74 MB | 2次下載 | 1 積分
- 2使用TL431設(shè)計電源
- 0.67 MB | 1次下載 | 免費
- 3LabVIEW環(huán)形控件
- 0.01 MB | 1次下載 | 1 積分
- 404-01-02-CBM317線性穩(wěn)壓器(LDO)
- 2.01 MB | 1次下載 | 免費
- 5BP2879DB支持調(diào)光調(diào)滅的非隔離低 PF LED 驅(qū)動器
- 1.44 MB | 1次下載 | 免費
- 6CBMuD1200_CBMuD1201數(shù)字隔離器
- 757.44 KB | 次下載 | 免費
- 7bq2060AEVM-001和bq2060AEVM-002用戶指南
- 541.51KB | 次下載 | 免費
- 8具有有源箝位復(fù)位功能的48V至3.3V正激轉(zhuǎn)換器
- 317.58KB | 次下載 | 免費
本月
- 12024PMIC市場洞察
- 2.23 MB | 162次下載 | 免費
- 2開關(guān)電源設(shè)計原理手冊
- 1.83 MB | 44次下載 | 免費
- 3FS5080E 5V升壓充電兩串鋰電池充電管理IC中文手冊
- 8.45 MB | 23次下載 | 免費
- 4OAH0428最新規(guī)格書(中文)
- 2.52 MB | 15次下載 | 7 積分
- 5DMT0660數(shù)字萬用表產(chǎn)品說明書
- 0.70 MB | 13次下載 | 免費
- 6UC3842/3/4/5電源管理芯片中文手冊
- 1.75 MB | 12次下載 | 免費
- 7ST7789V2單芯片控制器/驅(qū)動器英文手冊
- 3.07 MB | 11次下載 | 1 積分
- 8慧榮SM2263XT開卡軟件-B16_B17_FW_S0614B0_RDT_S0617A
- 3.03 MB | 10次下載 | 5 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935119次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計
- 1.48MB | 420061次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233084次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費下載
- 340992 | 191367次下載 | 10 積分
- 5十天學(xué)會AVR單片機(jī)與C語言視頻教程 下載
- 158M | 183335次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81581次下載 | 10 積分
- 7Keil工具M(jìn)DK-Arm免費下載
- 0.02 MB | 73807次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65987次下載 | 10 積分
評論
查看更多