Introdução XML

  • Revision slug: Introdução_XML
  • Revision title: Introdução XML
  • Revision id: 275520
  • Created:
  • Creator: Verruckt
  • Is current revision? Não
  • コメント

Revision Content

Summary: This article introduces the 'eXtensible Markup Language' (XML) and tells of it's uses.

What is XML?

XML, which stands for Extensible Markup Language, is a W3C recommended general purpose markup language. XML is a subset of SGML.

Many languages are based on XML; for example XHTML, MathML, SVG, XUL, RSS, and RDF are all based on XML.

"Correct" XML

For an XML document to be correct it must be a well-formed document, conforming to all of XML's syntax rules. Most browsers, including Mozilla, offer a debugger that can identify poorly-formed XML documents.

XML display

There are two ways in which XML can be used to aid in presentation, applying to various presentation methods from transforming HTML to creating PDF or image code.

One way to have a style on an XML page is to use CSS with the xml-stylesheet declaration.

<?xml-stylesheet type="text/css" href="stylesheet.css"?>

In combination with the powerful XSLT, which is capable of transforming XML markup into other forms, XML is incredibly versatile.

<?xml-stylesheet type="text/xsl" href="transform.xsl"?>

Recommendations

This article is only a quick introduction to what XML is; for more details about XML, you should look around on the Web for more in-depth articles.

Learning the HTML markup language will help you better understand XML. You should also explore the Mozilla Developer Center for more information.

Document Information

  • Author(s): Justin G. Shreve
  • Last Updated Date: May 19th

Categorias

Interwiki Language Links

{{ wiki.languages( { "en": "en/XML_Introduction", "es": "es/Introducci\u00f3n_a_XML", "fr": "fr/Introduction_\u00e0_XML", "ja": "ja/XML_Introduction", "pl": "pl/Wprowadzenie_do_XML-a", "zh-cn": "cn/XML_\u4ecb\u7ecd" } ) }}

Revision Source

<p>
</p><p><span class="comment">Summary: This article introduces the 'eXtensible Markup Language' (XML) and tells of it's uses.</span>
</p>
<h3 name="What_is_XML.3F"> What is XML? </h3>
<p>XML, which stands for <b>Extensible Markup Language</b>, is a <a class="external" href="http://www.w3.org/">W3C recommended</a> general purpose markup language. XML is a subset of SGML.
</p><p>Many languages are based on XML; for example <a href="pt/XHTML">XHTML</a>, <a href="pt/MathML">MathML</a>, <a href="pt/SVG">SVG</a>, <a href="pt/XUL">XUL</a>, <a href="pt/RSS">RSS</a>, and <a href="pt/RDF">RDF</a> are all based on XML.
</p>
<h3 name=".22Correct.22_XML"> "Correct" XML </h3>
<p>For an XML document to be correct it must be a well-formed document, conforming to all of XML's syntax rules. Most browsers, including Mozilla, offer a debugger that can identify poorly-formed XML documents.
</p>
<h3 name="XML_display"> XML display </h3>
<p>There are two ways in which XML can be used to aid in presentation, applying to various presentation methods from transforming HTML to creating PDF or image code.
</p><p>One way to have a style on an XML page is to use CSS with the <code>xml-stylesheet</code> declaration.
</p>
<pre>&lt;?xml-stylesheet type="text/css" href="stylesheet.css"?&gt;</pre>
<p>In combination with the powerful XSLT, which is capable of transforming XML markup into other forms, XML is incredibly versatile.
</p>
<pre>&lt;?xml-stylesheet type="text/xsl" href="transform.xsl"?&gt;</pre>
<h3 name="Recommendations"> Recommendations </h3>
<p>This article is only a quick introduction to what XML is; for more details about XML, you should look around on the Web for more in-depth articles.
</p><p>Learning the HTML markup language will help you better understand XML.  You should also explore the Mozilla Developer Center for more information.
</p>
<div class="originaldocinfo">
<h3 name="Document_Information"> Document Information </h3>
<ul><li> Author(s): Justin G. Shreve
</li><li> Last Updated Date: May 19th 
</li></ul>
</div>
<p><span class="comment">Categorias</span>
</p><p><span class="comment">Interwiki Language Links</span>
</p>{{ wiki.languages( { "en": "en/XML_Introduction", "es": "es/Introducci\u00f3n_a_XML", "fr": "fr/Introduction_\u00e0_XML", "ja": "ja/XML_Introduction", "pl": "pl/Wprowadzenie_do_XML-a", "zh-cn": "cn/XML_\u4ecb\u7ecd" } ) }}
Revert to this revision