Thread: Xml, Dhtml
View Single Post
Old 11-22-2002   #4
EricP
Members
 
Join Date: Oct 2002
Location: Orlando, FL
Posts: 299
Default

I thought I would post an example or two...

Here is a page I put up that uses an XML file:

http://www.vbasic.net/xml/ReadMenu.aspx
Here is the XML File: http://www.vbasic.net/xml/Menu.xml


Here is another XML file: http://www.vbasic.net/xml/products.xml


And here is a normal XHTML file:

Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>

</body>
</html>

Like for an image, you must close the tag like so:

Code:
<img src="media/file.gif" width="100" height="100" />
Not hard eh?

Now whats cool about XML is it will be the way applications communicate with other applications across the internet. By using XML one application can read and understand the data from another application. Its a Standard for serving and reading data across the internet.







Last edited by EricP at Nov 22 2002, 07:34 PM
EricP is offline   Reply With Quote