Navigation
  • Home
  • Recent
  • Most Active
  • Popular
  • Credits
  • RSS
  •  
      Help
  • How to Edit
  • Help



  • [Edit]


    ==XML==


    An XML document is a text document that consists of an XML declaration and a root element with well-formed content.


    Example XML Document


    Blah




        XML and MIME
            MIME
            XML Specific MIME Types

    top

    MIME


    MIME is an Internet Standard that allows email systems to interpret complex data. Web browsers also use the MIME type to accurately display information or launch a separate application to handle the data.


    All MIME types consist of two parts, in the form type/subtype.

    This information is sent to the browser by a web server. Usually, the server determines the MIME type based on the document's file extension. For example, the server would interpret an extension of .txt (plain text file) to have a MIME type of text/plain.

    top

    XML Specific MIME Types
    There are two MIME assignments for XML data. These are:
      application/xml
      text/xml

    Because of the wide variety of documents that can be expressed using an XML syntax, additional MIME types are needed to differentiate between languages. XML-based formats add a suffix of +xml to the MIME type.

    Some common XML based languages include:
      eXtensible HyperText Markup Language (XHTML): application/xhtml+xml
      eXtensible Stylesheet Language (XSL): application/xsl+xml
      Scalable Vector Graphics (SVG): image/svg+xml
     


    Search more:
     

       
    Source Privacy License Download Contact Us Atlas
    Scientus.org Dictionary (Yet Another Wiki) RC : 1.41
    MIT OpenCourseWare
    This article is licensed under the GNU Free Documentation License [copyleft]. It uses material from the Wikipedia article "XML and MIME". link