Results 1 to 3 of 3

Thread: xml types

  1. #1

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    xml types

    i noticed there are (at least) 2 types of xml files..the ones like hellwraith's post format:
    <title>
    <name>pt</name>
    </title>

    and the ones like
    <title>
    name="pt"
    </title>

    what are their differences? and their names? which to use when and where?
    \m/\m/

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Both examples are using the xml markup language. The difference is that in your first example, you are using elements and in your second, you are using attributes. The second example is actually not well-formed. An attribute is not a stand alone entity, it is part of an element.

    Code:
    <appSettings id='MyCoolApp'>
    </appSettings>

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I think there are more than XML file type according to this link :
    *.xml, *.xsl, *.xsd, *.conf and *.dtd file types
    http://www.modelworks.com/editors/xml.html
    this must be confusing ...lol

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