資料介紹
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次下載 | 免費
評論
查看更多