• eXtensible Markup Language
    • Open standard
    • Made up of Tags and Elements
      • Tag
        • Sits at beginning and end of data.
        • The start tag name is encapsulated with <>.
        • Specific name does not matter.
        • The end tag is encapsulated with </>
          • Ex. Begin <tagname>
          • Ex. End </tagname>
      • Element
        • Refers to data between tags.
        • Empty Element – <tagname />
    • Tag and element indentation does not matter.
    • XML Declaration:
      • At beginning of XML File and is optional.
      • Prepares XML processor to parse document.
        • ex. <? xml version = “#.0” encoding = “UTF-#”?>
    • Root
      • Main element of document
      • Top of Tree
    • Attributes
      • Elements can be associated with attributes.
      • Always follows a start tag.
        • Ex.start tag <tagname name=”value”>
        • Ex. end tag <tagname/>
    • Comments
      • Starts with “<!–” and ends with “–>”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s