A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: What is a valid XML document?

  1. #1
    Junior Member
    Join Date
    Nov 2012

    What is a valid XML document?

    Hello Frnd,

    Plz share me about What is a valid XML document with suitable example?

    Thank u,

  2. #2
    A well-formed XML Document has to follow several generic rules. I mention some of them.
    1.XML documents must have a root element or The XML Document may only have one root element (<book>...</book>).
    2.XML elements must have a closing tag (<author>...</author> or <author/>).
    3.Tags never overlap, so this arrangement would produce an error: <author><name>...</author></name>.
    4.XML tags are case sensitive.
    5.XML elements must be properly nested.
    6.XML attribute values must be quoted.
    Example :
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <body>Don't forget me this weekend!</body>
    If you have any problems about this i will help you.

Posting Permissions

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

Click Here to Expand Forum to Full Width

HTML5 Development Center