Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
10-01-2002, 01:37 AM #1
- Join Date
- Oct 2002
- In my room
- Thanked 0 Times in 0 Posts
i dont know any XML. can any one tell me how to make a basic XML document?
10-01-2002, 02:39 AM #2
- Join Date
- May 2002
- Hayward, CA
- Thanked 21 Times in 19 Posts
It's actually a lot easier than you think.
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.