XML

Sunday 30 December 2012


 Assalamualaikum my friends..

    Last time I already discussed what is semantic web is about. For your information there are several component of semantic web which is XML, RDF and OWL. If you notice I already post about OWL and this post I would like to share what is XML is.

    XML is stands for Extensible Markup Language. It is designed for transport data and described data. XML tags are not predefined, you need to defined your own tags. XML used DTD or XML Schema to describe or validate the XML data.

        XML Syntax:
1.       XML declaration
<?xml version=’1.0’?>
2.       Consists a root element
<root>
        <child/>
</root>
3.       Open and closing tags
<course>Web Technology</course>
4.       All XML element must be proper nested
<name><i>shah</i></name>

eg:
             <?xml version=’1.0’?>
<note>
                    <to>Awak</to>
                    <from>Saya</from>
                </note>

0 comments:

Post a Comment