Pages

An Introduction To XML Extensible Markup Language

Wednesday 11 December 2013

What Is XML Extensible Markup Language?

XML (Extensible Markup Language) is a meta markup language which is progressing to replace the standard and well known HTML. It has been developed by W3c (World Wide WebConsortium) and the emphasis lies in making the compatibility of online documents simpler and more supple. Not that much popular on the internet, XML language is used for creating data and documentation for applications and tools.
SGML (Standard Generalized Markup Language) is an ISO standard technology compliance for markup languages like XML, HTML and XHTML. HTML, so far is the most used markup language in the world. However, numerous glitches and compatibility issues are surfacing in the compliance of HTML with SGML standards. For this reason, the shift to a more simpler and flexible markup language is necessary to facilitate documentation for application which can be easily convertible from one form to another.
The main focus of XML relies on user-created tags by defining their labels and permitted usage.

Structure Of A Typical Data Document In XML Extensible Markup Language

Declaration
This is the first line of an XML document. This line defines the standard compilation of theXML document with a specific version and declares what the document is going to consist of. The xml declaration begins and ends with “?”
<?xml version ="2.0"?>
Parent Element
This is the root element of an XML document and consists of a start tag, content and end tag. There can be only one parent element per an XML documents. All other elements should go inside the parent element and must be properly closed.
For example:
<data> Content for XML goes here </data>
An element with no content inside it is called an empty element.
Tags

Example Of A Typical Document XML Extensible Markup Language

<?xml version ="2.0"?>

<Data>
<head>
<title> This is an XML document file </title>
<header source = "headerimage.png "/>
</head>
<body>
<heading.start> First heading=ng </ heading.start >
<rule/>
<text>
<para>
So, we are going to learn about XML extensible markup language

</para>
</text>
</body>
<footer source= headerimage.png "/>
</Data>

How Do I  Create And Edit XML Files Or Documents?

XML Editors


XML editors come with fully packed resources fro creating and editing XML files anddocuments. There are many free options to help you getting started like Notepad++, Serna Free – Open Source XML Editor and XML Notepad 2007. Then, there are commercially available full-featured packed editors like Oxygen and Liquid Technologies, who offer a wide range of options to crate and edit your XML docs.

No comments:

Post a Comment

Send feedback please

 

info

israr

Search in Tech&soft

Most Reading