Difference between revisions of "Category:Oblivion XML"

Jump to navigation Jump to search
16 bytes added ,  10:36, 19 December 2009
m
imported>JRoush
imported>JRoush
Line 6: Line 6:
XML markup syntax is largely based on HTML.  An XML element is defined by an pair of opening and closing ''tags'' - matching angle brackets "<>" enclosing the type of the element.  For example, the following xml code defines a text element:
XML markup syntax is largely based on HTML.  An XML element is defined by an pair of opening and closing ''tags'' - matching angle brackets "<>" enclosing the type of the element.  For example, the following xml code defines a text element:
  <text> </text>
  <text> </text>
Note that the closing tag is denoted by slash.  Anything in between an element's tags is considered to be a child of that element.  For example, the following defines an image element which has a child text element:
Note that the closing tag is denoted by slash.  Anything in between an element's tags is considered to be a child (or "contents") of that element.  For example, the following defines an image element which has a child text element:
  <image> <text> </text> </image>
  <image> <text> </text> </image>
If an element has no children, like the first example above, then the opening/closing tag syntax can be abbreviated to:
If an element has no children, like the first example above, then the opening/closing tag syntax can be abbreviated to:
Anonymous user

Navigation menu