📄 dom_summary.asp@output=print
字号:
<!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 DOM Summary</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" />
<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>
<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>
<h1>You Have Learned XML DOM, Now What?</h1>
<a href="dom_errors_crossbrowser.asp"><img border="0" src="../images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
<a href="dom_examples.asp"><img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>
<hr />
<h2>XML DOM Summary</h2>
<p>The XML DOM defines a standard for accessing and manipulating XML.</p>
<p>According to the DOM, everything in an XML document is a
<a href="dom_nodes.asp">node</a>.</p>
<p>The text of an element node is stored in a <a href="dom_nodes.asp">text node</a>.</p>
<p>The XML DOM views an XML document as a tree-structure. The tree structure is
called a <a href="dom_nodetree.asp">node-tree</a>.</p>
<p>In a node tree, the terms parent, child, and sibling are used to describe the
relationships.</p>
<p>All modern browsers have a build-in <a href="dom_parser.asp">XML parser</a>
that can be used to read and manipulate XML.</p>
<p>With the XML DOM <a href="dom_methods.asp">properties and methods</a>, you
can <a href="dom_nodes_access.asp">access</a> every node in an XML document.</p>
<p>Important node properties: <a href="dom_nodes_info.asp">nodeName, nodeValue,
and nodeType</a>.</p>
<p>When using properties or methods like childNodes or getElementsByTagName(), a
<a href="dom_nodes_nodelist.asp">node list object</a> is returned.</p>
<p><a href="dom_mozilla_vs_ie.asp">Different browsers</a> treat new line, or
space characters, between nodes differently.</p>
<p>To <a href="dom_mozilla_vs_ie.asp">ignore empty text nodes</a> between
element nodes, you can check the node type.</p>
<p>Nodes can be <a href="dom_nodes_navigate.asp">navigated</a> using node
relationships.</p>
<p>Our <a href="dom_examples.asp">XML DOM examples</a> also represent a summary of this XML
DOM tutorial.</p>
<hr />
<h2>What to Study Next?</h2>
<p>Our recommendation is to learn about XSLT.</p>
<p>If you want to learn more about validating XML, we recommend DTD and XML
Schema.</p>
<p>Below is a short description of each subject.</p>
<hr />
<h2><b>XSLT (XML Stylesheet Language Transformations)</b></h2>
<p>XSLT is the style sheet language for XML files.</p>
<p>With XSLT you can transform XML documents into other formats, like XHTML.</p>
<p>If you want to learn more about XSLT, please
visit our <a href="../xsl/default.asp">XSLT tutorial</a>.</p>
<hr />
<h2><b>XML DTD (Document Type Definition)</b></h2>
<p>The purpose of a DTD is to define what elements, attributes and entities is
legal in an XML document.</p>
<p>With DTD, each of your XML files can carry a description of its own format
with it.</p>
<p>DTD can be used to verify that the data you receive, and your own data, is
valid.</p>
<p>If you want to learn more about DTD, please
visit our <a href="../dtd/default.asp">DTD tutorial</a>.</p>
<hr />
<a href="dom_errors_crossbrowser.asp"><img alt="previous" border="0" src="../images/btn_previous.gif" width="100" height="20" /></a>
<a href="dom_examples.asp"><img alt="next" border="0" src="../images/btn_next.gif" width="100" height="20" /></a>
<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -