XML 1.01

I may be a bit behind everyone else when I say I’m just discovering the true powers of XML.

My latest assignment at work is to figure out how to make a lot of integration between other softwares and our own. My solution? You guessed it: XMLs.

Now, I’m not just talking about your run of the mill:

<field1> bla-bla </field1>
<field2> aha </field2>

I’m talking about files that are XML Schema compliant, with the full use of namespaces and custom defined types of data.

Want to know a little more? Well, here’s the basics about XML:

  • its name comes from eXtensible Markup Language and it represents a set of predefined rules for encoding documents;
  • XML does not have predefined tags;
  • you can specify the encoding you want on all your XML files, the default is UFT8;
  • comments look like this <!– I am a comment –>;
  •  XML tags are case-sensitive;
  • you can define namespaces in your XML, syntax <xsd:schema xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
  • XML Schema is a way to validate and XML file, it looks like:

<xsd:complexType name=”TreeType”>
<!– compositor goes here –>
<xsd:element name=”name” type=”xsd:string”/>
<xsd:element name=”family” type=”tns:Family”/>
<xsd:attribute name=”id” type=”tns:FamilyId”/>
<xsd:element name=”tree” type=”tns:TreeType”/>

If you want to know more about what XML can really do, check out this page.

Published by


I may be late due to who I am as a person