一聚教程网:一个值得你收藏的教程网站

热门教程

XML Examples-from w3schools.com

时间:2022-07-02 11:42:40 编辑:袖梨 来源:一聚教程网

XML Examples
--------------------------------------------------------------------------------
Note: To view an XML document in Netscape 6: Open the XML file and then right-click in the XML file and select "View Page Source".
Note: Not all of the examples below work in Netscape.
Viewing XML Files
View a simple XML file (note.xml)
View the same XML file with an error
View an XML CD catalog
View an XML plant catalog
View an XML food menu
Viewing XML files with a dtd
View note.xml with an internal dtd
View note.xml with an external dtd
The Microsoft XML parser
View a simple XML file (xml_note.xml)
Loading the same file into the parser
Traversing the node tree of the file
Loading the same file into HTML
Displaying using JavaScript
View a simple XML file (xml_note.xml)
Format the same file with JavaScript
XML and CSS
View an XML CD catalog
View the corresponding CSS file
Display the CD catalog formatted with the CSS file
XML and XSL
View an XML food menu
View the corresponding XSL stylesheet
Display the food menu styled with the XSL stylesheet (IE6)
Display the food menu styled with the XSL stylesheet (IE5)
Data Binding
View an XML CD catalog
Bind the CD catalog to an HTML table
Add , , elements
Database Output
View XML output from a database
Displayed as HTML
View an XML CD catalog
See how the CD catalog can be displayed inside HTML elements

热门栏目