資料介紹
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入門(mén)篇
- 全志D1-H Tina Development Document
- 基于模糊集和概率分布的XML模型及計(jì)算 1次下載
- Python語(yǔ)言的特點(diǎn)和使用Python對(duì)XML文件的數(shù)據(jù)進(jìn)行解析說(shuō)明 6次下載
- XML HttpRequest的詳細(xì)程序講解 1次下載
- 基于節(jié)點(diǎn)集的XML查詢(xún) 0次下載
- 紫金橋軟件讀寫(xiě)XML文件的方法 0次下載
- 基于XML的電子政務(wù)系統(tǒng)設(shè)計(jì)
- 生產(chǎn)調(diào)度系統(tǒng)中的XML通訊模型及實(shí)現(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庫(kù)一覽 983次閱讀
- 動(dòng)態(tài)模板語(yǔ)義分析-動(dòng)態(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)用開(kāi)發(fā)筆記 2275次閱讀
- XML基礎(chǔ)——XML必須知道的入門(mén)知識(shí) 2085次閱讀
- 如何從HTML或XML文件中提取數(shù)據(jù)的Python爬蟲(chóng)庫(kù)Beautiful Soup概述 2.5w次閱讀
- Python的安全問(wèn)題,你必須注意!總結(jié)的10個(gè)Python常見(jiàn)安全漏洞 1.5w次閱讀
- 谷歌的AI first戰(zhàn)略,一年成果究竟如何? 541次閱讀
- 編程要注意不允許有匹配 [xX][mM][lL] 的處理指令目標(biāo)。 5629次閱讀
- Android string.xml中的空格以及換行符的寫(xiě)法 1.4w次閱讀
- 田洪川VS2005視頻教程:利用DataSet操作XML 817次閱讀
- 田洪川VS2005視頻教程:XML概述、概念、語(yǔ)法 789次閱讀
下載排行
本周
- 1SMD LED選型手冊(cè) 貼片燈珠
- 5.47 MB | 3次下載 | 免費(fèi)
- 2加密芯片的一種破解方法和對(duì)應(yīng)加密方案改進(jìn)設(shè)計(jì)
- 0.29 MB | 1次下載 | 免費(fèi)
- 3明緯S-50-24開(kāi)關(guān)電源電路圖.pdf
- 0.10 MB | 1次下載 | 5 積分
- 4多功能MPU芯片GC9005數(shù)據(jù)手冊(cè)
- 2.67 MB | 1次下載 | 免費(fèi)
- 5碳化硅逆變焊機(jī)基本產(chǎn)品介紹
- 7.35 MB | 1次下載 | 免費(fèi)
- 6基本半導(dǎo)體產(chǎn)品在Sic逆變焊機(jī)中的應(yīng)用
- 7.27 MB | 1次下載 | 免費(fèi)
- 7基本半導(dǎo)體產(chǎn)品在125kW工商業(yè)儲(chǔ)能PCS中的應(yīng)用
- 10.74 MB | 1次下載 | 免費(fèi)
- 8MOSFET參數(shù)解讀
- 1.59 MB | 1次下載 | 2 積分
本月
- 1使用單片機(jī)實(shí)現(xiàn)七人表決器的程序和仿真資料免費(fèi)下載
- 2.96 MB | 44次下載 | 免費(fèi)
- 23314A函數(shù)發(fā)生器維修手冊(cè)
- 16.30 MB | 13次下載 | 免費(fèi)
- 3TPS54202H降壓轉(zhuǎn)換器評(píng)估模塊用戶(hù)指南
- 1.02MB | 9次下載 | 免費(fèi)
- 4美的電磁爐維修手冊(cè)大全
- 1.56 MB | 9次下載 | 5 積分
- 5STM32F101x8/STM32F101xB手冊(cè)
- 1.69 MB | 8次下載 | 1 積分
- 6使用TL431設(shè)計(jì)電源
- 0.67 MB | 7次下載 | 免費(fèi)
- 7感應(yīng)筆電路圖
- 0.06 MB | 7次下載 | 免費(fèi)
- 8不對(duì)稱(chēng)半橋(AHB)反激變換器的分析與設(shè)計(jì)
- 0.68 MB | 6次下載 | 1 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935119次下載 | 10 積分
- 2開(kāi)源硬件-PMP21529.1-4 開(kāi)關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計(jì)
- 1.48MB | 420062次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233084次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191367次下載 | 10 積分
- 5十天學(xué)會(huì)AVR單片機(jī)與C語(yǔ)言視頻教程 下載
- 158M | 183335次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81581次下載 | 10 積分
- 7Keil工具M(jìn)DK-Arm免費(fèi)下載
- 0.02 MB | 73807次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65987次下載 | 10 積分
評(píng)論
查看更多