Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: help

  1. #1
    New to the CF scene
    Join Date
    Oct 2002
    In my room
    Thanked 0 Times in 0 Posts

    Unhappy help

    i dont know any XML. can any one tell me how to make a basic XML document?

  • #2
    Join Date
    May 2002
    Hayward, CA
    Thanked 21 Times in 19 Posts
    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.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts