XML (Extensible Markup Language)
• XML (Extensible Markup Language) is a markup language similar to HTML, but without predefined tags to use. • Instead, you define your own tags designed specifically for your needs. This is a powerful way to store data in a format that can be stored, searched, and shared. Most importantly, since the fundamental format of XML is standardized, if you share or transmit XML across systems or platforms, either locally or over the internet, the recipient can still parse the data due to the standardized XML syntax. • Data parsing is the process of taking unstructured or semi-structured data and converting it into a structured format that can be easily analyzed and processed.
Differences between XML and HTML XML and HTML were designed with different goals: • XML is designed to carry data emphasizing on what type of data it is. • HTML is designed to display data emphasizing on how data looks • XML tags are not predefined like HTML tags. • HTML is a markup language whereas XML provides a framework for defining markup languages. • HTML is about displaying data, hence it is static whereas XML is about carrying information, which makes it dynamic.
• Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. • The design goals of XML focus on simplicity, generality, and usability across the Internet. • Although the design of XML focuses on documents, the language is widely used for the representation of arbitrary data structures such as those used in web services. • XML is a markup language like HTML • XML is designed to store and transport data • XML is designed to be self-descriptive
EXAMPLE : HTML code for the note is given below <html> <h1>Note</h1> <body> <p>To:RAJ <br> From:RAVI </p> <h1>Reminder</h1> <p>Meeting at 8am</p> </body> </html>
XML code for a note is given below Pre defines preformatted text - displayed in a fixed-width font
OUTPUT: • Note: The output in both the cases is same but while using HTML we have used predefined tags like p tag and h1 tag whereas while using XML we have used self defined tags like “To” tag and “from” tag.
• Basically XML above does not do anything. XML is just information wrapped in tags. Users must require a piece of software to send, receive, store, or display it. • XML makes web development User Friendly : Many computer systems contain data in incompatible formats. Exchanging data between incompatible systems or upgraded systems is a time-consuming task for web developers. Large amounts of data must be converted, and incompatible data is often lost. XML stores data in plain text format. This provides a software- and hardware-independent way of storing, transporting, and sharing data.
XML IN BIOINFORMATICS • XML is highly flexible: it is simple to modify. • XML is Internet-oriented and has very rich capabilities for linking data; this can be used for interconnecting databases. • XML provides an open framework for defining standard specifications. This is an important point because bioinformatics clearly lacks standardization. For example, querying on multiple molecular biology databases could be greatly facilitated if each database would offer an XML view of their content.
HTML XML 1. It was written in 1993. It was released in 1996. 2. HTML stands for Hyper Text Markup Language. XML stands for Extensible Markup Language. 3. HTML is static in nature. XML is dynamic in nature. 4. It was developed by Web Hypertext Application Technology Working Group (WHATWG) It was developed by Worldwide Web Consortium. 5. It is termed as a presentation language. It is neither termed as a presentation nor a programming language. 6. HTML is a markup language. XML provides a framework to define markup languages. 7. HTML can ignore small errors. XML does not allow errors. 8. It has an extension of .html and .htm It has an extension of .xml 9. HTML is not Case sensitive. XML is Case sensitive. 10. HTML tags are predefined tags. XML tags are user-defined tags. 11. There are limited number of tags in HTML. XML tags are extensible (designed to allow the addition of new capabilities and functionality).
HTML XML 12. HTML tags are used for displaying the data. XML tags are used for describing the data not for displaying. 13. In HTML, in few tags, closing tags are not necessary. In XML, closing tags are necessary. 14. HTML does not carry data it just displays it. XML carries the data to and from the database. 15. HTML document size is relatively small. XML document size is relatively large as the approach of formatting and the codes both are lengthy. 16. Some of the tools used for HTML are: ∙ Visual Studio Code ∙ Atom ∙ Notepad++ ∙ Sublime Text and many more. Some of the tools used for XML are: ∙ Oxygen XML ∙ XML Notepad ∙ Liquid Studio and many more.

XML (Extensible Markup Language).pptx.pdf

  • 1.
  • 2.
    • XML (ExtensibleMarkup Language) is a markup language similar to HTML, but without predefined tags to use. • Instead, you define your own tags designed specifically for your needs. This is a powerful way to store data in a format that can be stored, searched, and shared. Most importantly, since the fundamental format of XML is standardized, if you share or transmit XML across systems or platforms, either locally or over the internet, the recipient can still parse the data due to the standardized XML syntax. • Data parsing is the process of taking unstructured or semi-structured data and converting it into a structured format that can be easily analyzed and processed.
  • 3.
    Differences between XMLand HTML XML and HTML were designed with different goals: • XML is designed to carry data emphasizing on what type of data it is. • HTML is designed to display data emphasizing on how data looks • XML tags are not predefined like HTML tags. • HTML is a markup language whereas XML provides a framework for defining markup languages. • HTML is about displaying data, hence it is static whereas XML is about carrying information, which makes it dynamic.
  • 4.
    • Extensible MarkupLanguage (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. • The design goals of XML focus on simplicity, generality, and usability across the Internet. • Although the design of XML focuses on documents, the language is widely used for the representation of arbitrary data structures such as those used in web services. • XML is a markup language like HTML • XML is designed to store and transport data • XML is designed to be self-descriptive
  • 5.
    EXAMPLE : HTML codefor the note is given below <html> <h1>Note</h1> <body> <p>To:RAJ <br> From:RAVI </p> <h1>Reminder</h1> <p>Meeting at 8am</p> </body> </html>
  • 6.
    XML code fora note is given below Pre defines preformatted text - displayed in a fixed-width font
  • 7.
    OUTPUT: • Note: Theoutput in both the cases is same but while using HTML we have used predefined tags like p tag and h1 tag whereas while using XML we have used self defined tags like “To” tag and “from” tag.
  • 8.
    • Basically XMLabove does not do anything. XML is just information wrapped in tags. Users must require a piece of software to send, receive, store, or display it. • XML makes web development User Friendly : Many computer systems contain data in incompatible formats. Exchanging data between incompatible systems or upgraded systems is a time-consuming task for web developers. Large amounts of data must be converted, and incompatible data is often lost. XML stores data in plain text format. This provides a software- and hardware-independent way of storing, transporting, and sharing data.
  • 9.
    XML IN BIOINFORMATICS •XML is highly flexible: it is simple to modify. • XML is Internet-oriented and has very rich capabilities for linking data; this can be used for interconnecting databases. • XML provides an open framework for defining standard specifications. This is an important point because bioinformatics clearly lacks standardization. For example, querying on multiple molecular biology databases could be greatly facilitated if each database would offer an XML view of their content.
  • 10.
    HTML XML 1. Itwas written in 1993. It was released in 1996. 2. HTML stands for Hyper Text Markup Language. XML stands for Extensible Markup Language. 3. HTML is static in nature. XML is dynamic in nature. 4. It was developed by Web Hypertext Application Technology Working Group (WHATWG) It was developed by Worldwide Web Consortium. 5. It is termed as a presentation language. It is neither termed as a presentation nor a programming language. 6. HTML is a markup language. XML provides a framework to define markup languages. 7. HTML can ignore small errors. XML does not allow errors. 8. It has an extension of .html and .htm It has an extension of .xml 9. HTML is not Case sensitive. XML is Case sensitive. 10. HTML tags are predefined tags. XML tags are user-defined tags. 11. There are limited number of tags in HTML. XML tags are extensible (designed to allow the addition of new capabilities and functionality).
  • 11.
    HTML XML 12. HTMLtags are used for displaying the data. XML tags are used for describing the data not for displaying. 13. In HTML, in few tags, closing tags are not necessary. In XML, closing tags are necessary. 14. HTML does not carry data it just displays it. XML carries the data to and from the database. 15. HTML document size is relatively small. XML document size is relatively large as the approach of formatting and the codes both are lengthy. 16. Some of the tools used for HTML are: ∙ Visual Studio Code ∙ Atom ∙ Notepad++ ∙ Sublime Text and many more. Some of the tools used for XML are: ∙ Oxygen XML ∙ XML Notepad ∙ Liquid Studio and many more.