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

📄 xml_examples.asp@output=print

📁 W3Schools tutorial..web designing
💻 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 Examples</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>XML Examples</h1>
<a href="xml_summary.asp"><img border="0" src="../images/btn_previous.gif" alt="previous" width="100" height="20" /></a>
<a href="xml_quiz.asp"><img alt="next" border="0" src="../images/btn_next.gif" width="100" height="20" /></a>
<hr />

<p class="intro">These examples demonstrate XML files, XML formatting and XML 
transformation (XSLT).</p>
<p class="intro">They also demonstrate 
JavaScript used together with XML (AJAX).</p>
<hr />

<p><b>Viewing XML Files</b></p>
<p>
<a target="_blank" href="note.xml">View a simple XML file (note.xml)</a><br />
<a target="_blank" href="note_error.xml">View the same XML file with an error</a><br />
<a target="_blank" href="cd_catalog.xml">View an XML CD catalog</a><br />
<a target="_blank" href="plant_catalog.xml">View an XML plant catalog</a><br />
<a target="_blank" href="simple.xml">View an XML food menu</a>
</p>

<p><b><a href="xml_view.asp">Examples explained</a></b></p>
<hr />

<p><b>XML and CSS</b></p>
<p>
<a target="_blank" href="cd_catalog.xml">View an XML CD catalog</a><br />
<a target="_blank" href="cd_catalog.txt">View the corresponding CSS file</a><br />
<a target="_blank" href="cd_catalog_with_css.xml">Display the CD catalog formatted with the CSS file</a>
</p>

<p><b><a href="xml_display.asp">Examples explained</a></b></p>
<hr />

<p><b>XML and XSLT</b></p>
<p>
<a target="_blank" href="simple.xml">View an XML food menu</a><br />
<a target="_blank" href="simple.xsl">View the corresponding XSLT stylesheet</a><br />
<a target="_blank" href="simplexsl.xml">Display the food menu styled with the XSLT stylesheet</a></p>

<p><b><a href="xml_xsl.asp">Examples explained</a></b></p>
<hr />

<p><b>Parsing XML with JavaScript</b></p>
<p>
<a target="_blank" href="note.xml">View a simple XML file (note.xml)</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_parsertest">Parse the XML file - Crossbrowser example</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_parsertest2">Parse an XML string - Crossbrowser example</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_note_traverse_crossbrowser">Traversing the 
XML node tree</a></p>
<p>
<b><a href="xml_parser.asp">Examples explained</a></b></p>
<hr />

<p><b>XML to HTML</b></p>
<p>
<a target="_blank" href="cd_catalog.xml">View an XML CD catalog</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_display_table2">
Display XML data in an HTML table</a></p>

<p><b><a href="xml_to_html.asp">Examples explained</a></b></p>
<hr />

<p><b>Using the XMLHttpRequest Object</b></p>
<p>
<a target="_blank" href="tryit.asp@filename=tryxml_httpsuggest">Online 
communication with server while typing input using XML HTTP</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_httprequest_js">Load an XML file with XML HTTP</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_httprequest_js1">Load a textfile into a div element with XML HTTP</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_httprequest_js2">Make a HEAD request with XML HTTP</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_httprequest_js3">Make a specified HEAD request with XML HTTP</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_httprequest_js4">Display an 
XML file as an HTML table</a></p>
<p>
<b><a href="xml_http.asp">Examples explained</a></b></p>

<hr />

<p><b>XML Application</b></p>
<p>
<a target="_blank" href="cd_catalog.xml">View an XML CD catalog</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_app_table">See how the XML data is displayed inside an HTML table</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_app_first">See how the XML 
data is displayed inside the &lt;div&gt; element</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_app_navigate">See how you can navigate through the XML records</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_app">A simple CD catalog 
application </a>
</p>

<p><b><a href="xml_applications.asp">Examples explained</a></b></p>

<hr />

<p><b>XML Output From a Server</b></p>
<p><a target="_blank" href="note.asp">See how ASP can return XML</a><br />
<a target="_blank" href="note.php">See how PHP can return XML</a><br />
<a target="_blank" href="guestbook.asp">View XML output from a database</a>
</p>

<p><b><a href="xml_server.asp">Examples explained</a></b></p>

<hr />

<p><b>XML DOM Advanced</b></p>
<p><a target="_blank" href="tryit.asp@filename=tryxml_dom_getelement">Get the 
value of an XML element</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_dom_getattribute">Get the 
value of an XML attribute</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_dom_changeelement">Change the 
value of an XML element</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_dom_changeattribute">Change 
the value of an XML attribute</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_dom_createelement">Create a 
new XML element</a><br />
<a target="_blank" href="tryit.asp@filename=tryxml_dom_removeelement">Remove an 
XML element</a></p>

<p><b><a href="xml_dom_advanced.asp">Examples explained</a></b></p>

<hr />
<a href="xml_summary.asp"><img border="0" src="../images/btn_previous.gif" alt="previous" width="100" height="20" /></a>
<a href="xml_quiz.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 + -