...

help

MusicMaster
10-01-2002, 01:37 AM
i dont know any XML:(. can any one tell me how to make a basic XML document?

Alex Vincent
10-01-2002, 02:39 AM
It's actually a lot easier than you think.

<root />

There is a simple XML document.

XML is primarily about well-formedness: crossing your t's and dotting your i's. Elements must have either an opening tag and a closing tag (<root>...</root>) or close themselves with a slash at the end of the tag, like above. They must be properly nested (no <a><b></a></b>). Attributes must be quoted (<author name="Alex Vincent" />).

Another aspect to XML is validity, where the structure of the language is defined in a DTD file. But for now we'll defer on that, if you want the absolute basics.

The real question is what do you want to do with XML? XML languages allow you to define your own data format. XHTML is one XML language. Others include MathML, SVG, RDF, XSLT, XSL-FO, RDF, XML Schemas, etc., etc.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum