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

📄 web_xml.asp

📁 W3Schools tutorial..web designing
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>XML Primer</title>
 
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="xml,tutorial,html,dhtml,css,xsl,xhtml,javascript,asp,ado,vbscript,dom,sql,colors,soap,php,authoring,programming,training,learning,beginner's guide,primer,lessons,school,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,w3c,cascading style sheets,active server pages,dynamic html,internet,database,development,Web building,Webmaster,html guide" />

<meta name="Description" content="Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building." />

<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />

<link rel="stylesheet" type="text/css" href="../stdtheme.css" />

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "../../https@ssl./default.htm" : "../../www./default.htm");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3855518-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>

</head>
<body>

<a name="top"></a>
<table cellpadding="0" cellspacing="0" width="100%" bgcolor="#808080">
<tr>
<td width="234" valign="top">
<a href="../default.htm"><img src="../images/w3default80.jpg" border="0" alt="W3Schools" /></a>
</td>
<th valign="middle" align="left" class="right">
<script type="text/javascript"><!--
google_ad_client = "pub-3440800076797949";
/*txtimg*/
google_ad_slot = "5330033957";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript" src="../../pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<noscript>
<a href="../default.asp" target="_blank"><img src="../banners/w6.gif" border="0" alt="W3Schools" /></a>
</noscript>

<br /></th>
</tr>
</table>

<table style="margin-left:1px" width="800px" border="0" cellpadding="0" cellspacing="2">
<tr>
<td width="137" class="content" valign="top"><br />
<a class="left" href="../default.asp" target="_top">
<img src="../images/homeicon.gif" border="0" alt="home" /></a>
<a class="left" href="../default.asp" target="_top">
<b>HOME</b></a>
<br /><br />
<b>Web Primer</b><br />
<a class="left" target="_top" href="default.asp" >Web Primer</a><br />
<a class="left" target="_top" href="web_www.asp" >Web WWW</a><br />
<a class="left" target="_top" href="web_html.asp" >Web HTML</a><br />
<a class="left" target="_top" href="web_css.asp" >Web CSS</a><br />
<a class="left" target="_top" href="web_javascript.asp" >Web JavaScript</a><br />
<a class="left" target="_top" href="web_xml.asp" style='font-weight:bold;'>Web XML</a><br />
<a class="left" target="_top" href="web_scripting.asp" >Web Scripting</a><br />
<a class="left" target="_top" href="web_sql.asp" >Web SQL</a><br /><br />
<b>Selected Reading</b><br />
<a class="left" target="_top" href="../browsers/browsers_stats.asp">Web Statistics</a><br />
<a class="left" target="_top" href="../site/site_glossary.asp">Web Glossary</a><br />
<a class="left" target="_top" href="../hosting/default.asp">Web Hosting</a><br />
<a class="left" target="_top" href="../quality/default.asp">Web Quality</a><br /><br />
<a class="left" target="_top" href="../forum/default.asp">W3Schools Forum</a><br /><br />
<a class="left" target="_top" href="../about/about_helping.asp">Helping W3Schools</a><br /><br />
<script type="text/javascript"><!--
google_ad_client = "pub-3440800076797949";
/*LeftLinkUnit*/
google_ad_slot = "4854527104";
google_ad_width = 120;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="../../pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
<td valign="top">
<table style="border: 1px solid gray" width="100%" bgcolor="#FFFFFF" border="0" cellpadding="5" cellspacing="0">
<tr>
<td>


<h1>XML Primer</h1>
<a href="web_javascript.asp"><img border="0" src="../images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
<a href="web_scripting.asp"><img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>
<hr />

<table width="100%" border="0" cellpadding="0" cellspacing="0" id="table2">
<tr>
<td valign="top" width="110">
<img src="pic_xml.jpg" border="0" alt="picture" /></td>
<td valign="top">
<p class="intro">XML was designed to describe data and to focus on what data is.</p>
<p class="intro">HTML was designed to display data and to focus on how data looks.</p>
</td>
</tr></table>
<hr />
<h2>What is XML?</h2>

<ul>
  <li>XML stands for E<b>X</b>tensible <b>M</b>arkup <b>L</b>anguage</li>
  <li>XML is a <b>markup language</b> much like HTML</li>
  <li>XML was designed to <b> describe data</b></li>
  <li>XML tags are not predefined. You must <b> define your own tags</b></li>
  <li>XML uses a  <b>Document Type Definition</b> (DTD) or an <b>XML Schema</b> 
  to describe the data</li>
  <li>XML with a DTD or XML Schema is designed to be <b>self-descriptive</b></li>
	<li>XML is a <b>W3C Recommendation</b></li>
</ul>
<hr />

<h2>The Main Difference between XML and HTML</h2>

<p><b>XML was designed to carry data.</b></p>

<p>XML is not a replacement for HTML.<br />
XML and HTML were designed with different goals:</p>

<p>
XML was designed to describe
data and to focus on what data is.<br />
HTML was
designed to display data and to focus on how data looks.</p>

<p>HTML is about displaying information, while XML is about describing
information.</p>
<hr />
<h2>XML Does not DO Anything</h2>
<p><b>XML was not designed to DO anything.</b></p>
<p>Maybe it is a little hard to understand, but XML does not DO anything.
XML was created to structure, store and to send
information.</p>
<p>The following example is a note to Tove from Jani, stored as XML:</p>
<table width="100%" border="1" class="ex" cellspacing="0" id="table1">
  <tr>
    <td>
      <pre>&lt;note&gt;
&lt;to&gt;Tove&lt;/to&gt;
&lt;from&gt;Jani&lt;/from&gt;
&lt;heading&gt;Reminder&lt;/heading&gt;
&lt;body&gt;Don't forget me this weekend!&lt;/body&gt;
&lt;/note&gt;</pre>
    </td>
  </tr>
</table>
<p>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.</p>
<hr />
<h2>XML is Free and Extensible</h2>
<p><b>XML tags are not predefined. You must &quot;invent&quot; your own tags.</b></p>
<p>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 &lt;p&gt;, &lt;h1&gt;, etc.).</p>
<p>XML allows the author to define his own tags and his own document
structure.</p>
<p>The tags in the example above (like &lt;to&gt; and &lt;from&gt;) are not
defined in any XML standard. These tags are &quot;invented&quot; by the author
of the XML document.</p>
<hr />
<h2>XML is a Complement to HTML</h2>
<p><b>XML is not a replacement for HTML.</b></p>
<p>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.</p>
<p>My best description of XML is this: <b>XML is a cross-platform, software and hardware
independent tool for transmitting information.</b></p>
<hr />


<h2>XML in Future Web Development</h2>


⌨️ 快捷键说明

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