資料介紹
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次下載
- XML HttpRequest的詳細(xì)程序講解 1次下載
- 基于節(jié)點集的XML查詢 0次下載
- 紫金橋軟件讀寫XML文件的方法 0次下載
- MTK自帶的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庫一覽 1146次閱讀
- 動態(tài)模板語義分析-動態(tài)綁定XML 683次閱讀
- XML格式文件詳解 2806次閱讀
- 什么是XML? 1193次閱讀
- KUKA機器人TCP/IP連接出現(xiàn)EKI00006故障如何解決呢 2301次閱讀
- 一文詳解FIFO處理機制 3708次閱讀
- 第一次進(jìn)行的鴻蒙系統(tǒng)應(yīng)用開發(fā)筆記 2446次閱讀
- XML基礎(chǔ)——XML必須知道的入門知識 2228次閱讀
- 如何從HTML或XML文件中提取數(shù)據(jù)的Python爬蟲庫Beautiful Soup概述 2.5w次閱讀
- Python的安全問題,你必須注意!總結(jié)的10個Python常見安全漏洞 1.5w次閱讀
- 谷歌的AI first戰(zhàn)略,一年成果究竟如何? 626次閱讀
- 編程要注意不允許有匹配 [xX][mM][lL] 的處理指令目標(biāo)。 5676次閱讀
- Android string.xml中的空格以及換行符的寫法 1.4w次閱讀
- 田洪川VS2005視頻教程:利用DataSet操作XML 850次閱讀
- 田洪川VS2005視頻教程:XML概述、概念、語法 821次閱讀
下載排行
本周
- 1TC358743XBG評估板參考手冊
- 1.36 MB | 330次下載 | 免費
- 2開關(guān)電源基礎(chǔ)知識
- 5.73 MB | 11次下載 | 免費
- 3嵌入式linux-聊天程序設(shè)計
- 0.60 MB | 3次下載 | 免費
- 4DIY動手組裝LED電子顯示屏
- 0.98 MB | 3次下載 | 免費
- 5基于FPGA的C8051F單片機開發(fā)板設(shè)計
- 0.70 MB | 2次下載 | 免費
- 651單片機窗簾控制器仿真程序
- 1.93 MB | 2次下載 | 免費
- 751單片機PM2.5檢測系統(tǒng)程序
- 0.83 MB | 2次下載 | 免費
- 8基于51單片機的RGB調(diào)色燈程序仿真
- 0.86 MB | 2次下載 | 免費
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234315次下載 | 免費
- 2555集成電路應(yīng)用800例(新編版)
- 0.00 MB | 33566次下載 | 免費
- 3接口電路圖大全
- 未知 | 30323次下載 | 免費
- 4開關(guān)電源設(shè)計實例指南
- 未知 | 21549次下載 | 免費
- 5電氣工程師手冊免費下載(新編第二版pdf電子書)
- 0.00 MB | 15349次下載 | 免費
- 6數(shù)字電路基礎(chǔ)pdf(下載)
- 未知 | 13750次下載 | 免費
- 7電子制作實例集錦 下載
- 未知 | 8113次下載 | 免費
- 8《LED驅(qū)動電路設(shè)計》 溫德爾著
- 0.00 MB | 6656次下載 | 免費
總榜
- 1matlab軟件下載入口
- 未知 | 935054次下載 | 免費
- 2protel99se軟件下載(可英文版轉(zhuǎn)中文版)
- 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十天學(xué)會AVR單片機與C語言視頻教程 下載
- 158M | 183279次下載 | 免費
- 8proe5.0野火版下載(中文版免費下載)
- 未知 | 138040次下載 | 免費
評論
查看更多