TOC

This article is currently in the process of being translated into Spanish (~47% done).

XML:

Introduction to XML with C#

XML es la abreviatura para eXtensible Markup Language (Lenguaje de marcado extensible), es muy utilizado para el intercambio de datos, principalmente por que es facil de leer tanto para los humanos como también para las máquinas. Si alguna vez ha escrito un sitio web en HTML, XML le parecerá muy familiar ya que básicamente es una versión mas estricta de HTML. XML se compone de etiquetas, atributos y valores, parecido a esto:

<users>
<user name="John Doe" age="42" />
<user name="Jane Doe" age="39" />
</users>

As you can see, for a data format, this is actually pretty easy to read, and because it's such a widespread standard, almost every programming language has built-in functions or classes to deal with it. C# is definitely one of them, with an entire namespace, the System.Xml namespace, to deal with pretty much any aspect of XML. In the following chapters, we will look into using them, both for writing and reading XML. Read on!

This article has been fully translated into the following languages: Is your preferred language not on the list? Click here to help us translate this article into your language!