中英文對照學(xué)習(xí)認(rèn)識(shí)一下XML語言(2)_Xml教程
推薦:XML教程:XML DOM 訪問節(jié)點(diǎn)通過DOM,您可以訪問XML文檔中的每個(gè)節(jié)點(diǎn)。 查找并訪問節(jié)點(diǎn) 你可通過若干種方法來查找您希望操作的元素: 通過使用getElementsByTagName()方法 通過使用一個(gè)元素節(jié)點(diǎn)的parentNode、firs
The following example is a note to Tove from Jani, stored as XML:
下面是個(gè)XML例子
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
The note has a header and a message body. It also has sender and receiver information. But still, this XML document does not DO anything. It is just pure information wrapped in XML tags. Someone must write a piece of software to send, receive or display it.
這段文檔有個(gè)首部和 信息的主體~,它同時(shí)也有發(fā)送者和接受者的信息。但是盡管如此,這個(gè)XML文檔同樣不能夠輸出任何數(shù)據(jù)~,它純粹只是封裝在XML標(biāo)簽中的信息。你必需編寫一份軟件才可可以發(fā)送,接收或者是顯示這段信息。
--------------------------------------------------------------------------------
XML is free and extensible [ XML是可以自由擴(kuò)展的 ]
XML tags are not predefined. You must "invent" your own tags.
XML的標(biāo)簽是不能夠預(yù)先定義的,你必需“創(chuàng)造”你自己的標(biāo)簽
The tags used to mark up HTML documents and the structure of HTML documents are predefined. The author of HTML documents can only use tags that are defined in the HTML standard (like <p>, <h1>, etc.).
這個(gè)標(biāo)簽常用與把 HTML 文檔 標(biāo)出~并且HTML文檔的結(jié)構(gòu)是要被預(yù)先定義的,HTML文檔建立者僅僅能使用 定義在標(biāo)準(zhǔn)HTML當(dāng)中的標(biāo)簽(像 <p>, <h1>, etc.)。
XML allows the author to define his own tags and his own document structure.
XML 允許 創(chuàng)造者定義自己的標(biāo)簽 和自己的文檔結(jié)構(gòu)。
The tags in the example above (like <to> and <from>) are not defined in any XML standard. These tags are "invented" by the author of the XML document.
在上面例子中的標(biāo)簽(像 <to> 和 <from>)不能夠在任何標(biāo)準(zhǔn)的XML當(dāng)中定義 這些標(biāo)簽是這個(gè)XML文檔的作者所“創(chuàng)造”的
--------------------------------------------------------------------------------
XML is a complement to HTML [ XML是對HTML的一種補(bǔ)充 ]
XML is not a replacement for HTML.
XML還不能夠取代HTML的位置
It is important to understand that XML is not a replacement for HTML. In future Web development it is most likely that XML will be used to describe the data, while HTML will be used to format and display the same data.
理解XML目前是不能取代HTML的位置這是很重要的,在將來萬維網(wǎng)的發(fā)展很有可能是XML被用描述數(shù)據(jù),而HTML則被用來布局和顯示這些同樣的數(shù)據(jù)。
My best description of XML is this: XML is a cross-platform, software and hardware independent tool for transmitting information.
對于XML的最佳描述是這樣的:XML是 跨平臺(tái)的~,在傳輸信息時(shí)軟件和硬件是相互獨(dú)立的工具。
--------------------------------------------------------------------------------
XML in future Web development [ XML在未來萬維網(wǎng)發(fā)展中的展望 ]
XML is going to be everywhere.
XML將延伸到各個(gè)地方
We have been participating in XML development since its creation. It has been amazing to see how quickly the XML standard has been developed and how quickly a large number of software vendors have adopted the standard.
自從XML被創(chuàng)造之日起我們就一直參與XML的發(fā)展。我們很驚訝的發(fā)現(xiàn)XML標(biāo)準(zhǔn)的發(fā)展是多么的迅速,一大批軟件的開發(fā)商已經(jīng)采用了這項(xiàng)標(biāo)準(zhǔn)。
We strongly believe that XML will be as important to the future of the Web as HTML has been to the foundation of the Web and that XML will be the most common tool for all data manipulation and data transmission.
我們堅(jiān)信XML在將來會(huì)變的和已經(jīng)成為萬維網(wǎng)基礎(chǔ)的HTML一樣重要~~,而且XML將會(huì)成為所有操作和傳輸數(shù)據(jù)最為普遍的工具
--------------------------------------------------------------------------------
XML Joke [ XML 笑話 ]
Question: When should I use XML?
問: 我該在什么時(shí)候使用XML?
Answer: When you need a buzzword in your resume.
答: 你可以在你的個(gè)人簡歷中寫上你會(huì)XML。
分享:開發(fā)保留標(biāo)準(zhǔn)的瀏覽器功能的AJAX應(yīng)用AJAX應(yīng)用因?yàn)樗鼈兊谋憩F(xiàn)力的豐富、更加互動(dòng)和更加迅速的響應(yīng)得到了贊揚(yáng)聲;這些優(yōu)點(diǎn)都是通過使用XMLHttpRequest對象來動(dòng)態(tài)的載入數(shù)據(jù)而獲得的,而不是重新載入新的頁面。在大量的宣傳和刺激中,
- xml創(chuàng)建節(jié)點(diǎn)(根節(jié)點(diǎn)、子節(jié)點(diǎn))
- WML開發(fā)教程之 WAP網(wǎng)站服務(wù)器配置方法
- WMLScript的語法基礎(chǔ)
- 收集的WML Script標(biāo)準(zhǔn)函數(shù)庫
- WML教程之文本框控件Input
- 無線標(biāo)記語言(WML)基礎(chǔ)之WMLScript 基礎(chǔ)
- xml文件的結(jié)構(gòu)解讀
- 關(guān)于XSL - XSL教程
- 選擇模式 - XSL教程 - 2
- XPath入門 - XSL教程 - 3
- 匹配模式 - XSL教程 - 4
- 測試模式 - XSL教程 - 5
- 相關(guān)鏈接:
- 教程說明:
Xml教程-中英文對照學(xué)習(xí)認(rèn)識(shí)一下XML語言(2)
。