⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 0209-0212.html

📁 Presenting XML.rar,详细介绍有关XML的知识
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "html.dtd"><HTML><HEAD><TITLE>Presenting XML:The XML Processor:EarthWeb Inc.-</TITLE><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><SCRIPT><!--function displayWindow(url, width, height) {        var Win = window.open(url,"displayWindow",'width=' + width +',height=' + height + ',resizable=1,scrollbars=yes');}//--></SCRIPT></HEAD><BODY  BGCOLOR="#FFFFFF" VLINK="#DD0000" TEXT="#000000" LINK="#DD0000" ALINK="#FF0000"><TD WIDTH="540" VALIGN="TOP"><!--  <CENTER><TABLE><TR><TD><FORM METHOD="GET" ACTION="http://search.itknowledge.com/excite/cgi-bin/AT-foldocsearch.cgi"><INPUT NAME="search" SIZE="20" VALUE=""><BR><CENTER><INPUT NAME="searchButton" TYPE="submit" VALUE="Glossary Search"></CENTER><INPUT NAME="source" TYPE="hidden" VALUE="local" CHECKED> <INPUT NAME="bltext" TYPE="hidden" VALUE="Back to Search"><INPUT NAME="sp" TYPE="hidden" VALUE="sp"></FORM></TD><TD><IMG SRC="http://www.itknowledge.com/images/dotclear.gif" WIDTH="15"   HEIGHT="1"></TD><TD><FORM METHOD="POST" ACTION="http://search.itknowledge.com/excite/cgi-bin/AT-subscriptionsearch.cgi"><INPUT NAME="search" SIZE="20" VALUE=""><BR><CENTER><INPUT NAME="searchButton" TYPE="submit" VALUE="  Book Search  "></CENTER><INPUT NAME="source" TYPE="hidden" VALUE="local" CHECKED> <INPUT NAME="backlink" TYPE="hidden" VALUE="http://search.itknowledge.com:80/excite/AT-subscriptionquery.html"><INPUT NAME="bltext" TYPE="hidden" VALUE="Back to Search"><INPUT NAME="sp" TYPE="hidden" VALUE="sp"></FORM></TD></TR></TABLE></CENTER> --><!--  ISBN=1575213346 //--><!--  TITLE=Presenting XML//--><!--  AUTHOR=Richard Light//--><!--  PUBLISHER=Macmillan Computer Publishing//--><!--  IMPRINT=Sams//--><!--  CHAPTER=11 //--><!--  PAGES=0201-0212 //--><!--  UNASSIGNED1 //--><!--  UNASSIGNED2 //--><P><CENTER><A HREF="0205-0208.html">Previous</A> | <A HREF="../ewtoc.html">Table of Contents</A> | <A HREF="../ch12/0213-0218.html">Next</A></CENTER></P><A NAME="PAGENUM-209"><P>Page 209</P></A><P>The XML-Lang specification contains some more detailed rules on theexpansion of references for anyone who is actually planning to develop anXML processor. These rules apply only when the replacement text for aninternal entity itself contains other references.</P><P>Parameter-entity references and character references in the replacementtext of an internal entity are resolved immediately, while general-entityreferences are left unresolved. General-entity references encountered in the documentare resolved, and their replacement text is parsed. This will cause any referencesin the replacement text to be resolved, unless they are general-entityreferences that &quot;escape&quot; markup.</P><P>From a user's point of view, one practical effect of these rules is that youneed to use general-entity references or doubly escaped character references ifyou want to represent markup characters within internal entities. For example,the entity declaration</P><!--  CODE //--><PRE>&lt;!ENTITY example &quot;&lt;p&gt;An ampersand (&amp;#38;#38;) may be escaped  numerically (&amp;#38;#38;#38;) or with a general entity  (&amp;amp;amp;).&lt;/p&gt;&quot; &gt;</PRE><!--  END CODE //--><P>will be parsed and stored with this value:</P><!--  CODE SNIP //--><PRE>&lt;p&gt;An ampersand (&amp;#38;) may be escaped  numerically (&amp;#38;#38;) or with a general entity  (&amp;amp;amp;).&lt;/p&gt;</PRE><!--  END CODE SNIP //--><P>A reference in the document to &amp;example; will cause this replacement textto be parsed again, resulting in a p element containing the following datacharacters:</P><!--  CODE SNIP //--><PRE>An ampersand (&amp;) may be escaped  numerically (&amp;#38;) or with a general entity  (&amp;amp;).</PRE><!--  END CODE SNIP //--><H4><A NAME="ch11_ 15">Summary</A></H4><P>This chapter provided an overview of the XML specification bysummarizing the features that an XML processor is required to have.</P><A NAME="PAGENUM-210"><P>Page 210</P></A><A NAME="PAGENUM-211"><P>Page 211</P></A><H3><A NAME="ch11_ 16"><A NAME="PAGENUM-212"><P>Page 212</P></A><P><CENTER><A HREF="0205-0208.html">Previous</A> | <A HREF="../ewtoc.html">Table of Contents</A> | <A HREF="../ch12/0213-0218.html">Next</A></CENTER></P></TD></TR></TABLE></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -