Revision 275522 of Introdução XML

  • Slug da revisão: Introdução_XML
  • Título da revisão: Introdução XML
  • ID da revisão: 275522
  • Criado:
  • Autor: Verruckt
  • É revisão atual? Não
  • Comentário
Etiquetas: 

Conteúdo da revisão

Sumário: Este artigo introduz a 'Extensible Markup Language' (XML) e fala sobre seus usos.

O que é 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.

XML "Correto"

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.

Disposição XML

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"?>

Recomendações

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.

{{template.InfoDocOriginal("Justin G. Shereve", "-", "19/05/05", "-", "")}}

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" } ) }}

Fonte da revisão

<p>
<span class="comment">Sumário: Este artigo introduz a 'Extensible Markup Language' (XML) e fala sobre seus usos.</span>
</p>
<h3 name="O_que_.C3.A9_XML.3F"> O que é 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="XML_.22Correto.22"> XML "Correto" </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="Disposi.C3.A7.C3.A3o_XML"> Disposição XML </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="Recomenda.C3.A7.C3.B5es"> Recomendações </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><p>{{template.InfoDocOriginal("Justin G. Shereve", "-", "19/05/05", "-", "")}}
</p><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" } ) }}
Reverter para esta revisão