Comparison Between Hypertext Markup Language and Extensible Markup Language

Total Page:16

File Type:pdf, Size:1020Kb

Comparison Between Hypertext Markup Language and Extensible Markup Language COMPARISON BETWEEN HYPERTEXT MARKUP LANGUAGE AND EXTENSIBLE MARKUP LANGUAGE JUBITHA.I Assistant Professor, Department Of Computer Science Abstract Hypertext markup language is used to create document for World Wide Web. But the extensible marking language is enabling the user to store data to a structured format with user defined tags. In the HTML, tags are predefined one. There are lots of differences between the hypertext markup language and extensible markup language. Both the HTML and XML are platform independent language. We can use the HTML language for making the web pages more attractive on. The XML language can be used for more applications like EDI and E-commerce for data communications. This means data transfer between two trading partners. The main difference between the XML and HTML is, the hypertext markup language is used for presenting data in better way and the extensible markup language can be used for better data definition and information data description. Keywords: Extensions of XML and HTML, Tags of XML and HTML, Advantages of XML and HTML, Applications of XML and HTML Introduction The hypertext markup language can be creating with help of notepad. In the notepad, type the coding with the predefined tags and save that document in html extension. After that we can open the notepad in internet explorer. Like, the extensible markup language can be creating in notepad. This includes the user defined tags, then save the documents with xml extensions. Then open the document in internet explorer browser. Since, both these language makes more attractive web pages. Tags are the basic unit of the html of the html and xml language. With the help of these tags we can create our own document. There is wide variety of tags available in HTML but in XML according to the users with they can create their own prescribed program. In HTML and XML there is opening and closing tags can be used for the code. At the beginning of all code, we must use the opening tag and at last we close that code by closing tags. In html, the beginning of the start with the < HTML > tags but in the XML the starting is the processing instruction line which includes the XML version and encoding format of the XML. Apart from these there are some tags in html, were used for placing the text in center, paragraph and for displaying the text bold, italic and underline format. While, considering the XML there is no special tag like this html tags. The hypertext markup language was mainly focus on how the data looks. But the extensible markup language is both hardware and software independent tool for store data and focus on the data. As far as we consider about both the HTML and XML are sensitive languages. The benefit of HTML is does not include the whitespace but the XML preserves that. Consider the HTML coding; <HTML> <HEAD> <TITLE> MY BIODATA </TITLE> <BODY> <B> EVANA </B> <U> COIMBATORE </U> <P> WORKING AS MANAGER IN WIPRO TECHNOLOGIES </P> <FONT FACE=”TIMES NEW ROMAN”</FONT> </BODY> </HTML> This is an example of simple HTML document, here they all have the opening and corresponding closing tags. <HTML>, <HEAD>,<TITLE>,<B>,<U>,<P>,<FONT> are the predefined tags used for the coding. The <HTML> is beginning tag for all the HTML documents it is sometimes called as opening tag and end with a closing tag called </HTML>. Likewise, the <HEAD> tag is mandatory for the HTML document. The <TITLE> is used for give the title of the document. The <BODY> tag used for giving the original content of the HTML.The <B>,<U>,<P> tags are for display the data to be in bold ,underlined and in paragraph. And finally <FONT> used for giving the font face for the documents. The “face” is the attribute of <FONT> tag. Let us consider the XML coding; <?xml version=”1.0”?> <--- EMPLOYEE DETAILS IS THE ROOT ELEMENT----> <EMPLOYEE DETAILS> <ENAME> AMALA</ENAME> <EADDRESS>COIMBATORE, TAMILNADU</EADDRESS> <EDESIGNATION>MANAGER </EDESIGNATION> <ESALARY> 300000</ESALARY> </EMPLOYEE DETAILS> In the above coding there are some predefined tags they are, <EMPLOYEE DETAILS>, <ENAME>, <EADDRESS>, <EDESIGNATION>, <ESALARY>. The <EMPLOYEE DETAILS> tag is used as the beginning tag for the XML document. It is user defined tag according to their XML coding. The <ENAME> tag is used to specify Employee name and the <EADDRESS> tag is to specify the employee’s address. Likewise, the <EDESIGNATION> and <ESALARY> used to specify the employee’s designation and salary. These all are the opening tag used for the coding with their corresponding closing tag also. And this <?xml version=”1.0”?> is the processing instruction line of the xml document and <- -- EMPLOYEE DETAILS IS THE ROOT ELEMENT----> this indicates that is comment line of that xml document. Conclusion From this, comparison of Hypertext Markup Language(HTML) and Extensible Markup Language(XML) there is lots of similarities and dissimilarities between them and HTML is better to use it have a structured format while compared to xml document. References 1. Using Xml by J.David Eisenberg July 19,2002. 2. HTML and XML an introduction, NIIT prentice hall of India Pvt.ltd 3.World wide web Design with HTML,c.Xavier,2007,TMH. .
Recommended publications
  • Extensible Markup Language (XML) and Its Role in Supporting the Global Justice XML Data Model
    Extensible Markup Language (XML) and Its Role in Supporting the Global Justice XML Data Model Extensible Markup Language, or "XML," is a computer programming language designed to transmit both data and the meaning of the data. XML accomplishes this by being a markup language, a mechanism that identifies different structures within a document. Structured information contains both content (such as words, pictures, or video) and an indication of what role content plays, or its meaning. XML identifies different structures by assigning data "tags" to define both the name of a data element and the format of the data within that element. Elements are combined to form objects. An XML specification defines a standard way to add markup language to documents, identifying the embedded structures in a consistent way. By applying a consistent identification structure, data can be shared between different systems, up and down the levels of agencies, across the nation, and around the world, with the ease of using the Internet. In other words, XML lays the technological foundation that supports interoperability. XML also allows structured relationships to be defined. The ability to represent objects and their relationships is key to creating a fully beneficial justice information sharing tool. A simple example can be used to illustrate this point: A "person" object may contain elements like physical descriptors (e.g., eye and hair color, height, weight), biometric data (e.g., DNA, fingerprints), and social descriptors (e.g., marital status, occupation). A "vehicle" object would also contain many elements (such as description, registration, and/or lien-holder). The relationship between these two objects—person and vehicle— presents an interesting challenge that XML can address.
    [Show full text]
  • Odfweave Manual
    The OdfWeave Package Max Kuhn max.kuhn@pfizer.com August 7, 2007 1 Introduction The Sweave function (Leisch, 2002) is a powerful component of R. It can be used to combine R code with LATEX so that the output of the code is embedded in the processed document. The capabilities of Sweave were later extended to HTML format in the R2HTML package. A written record of an analysis can be created using Sweave, but additional annotation of the results may be needed such as context–specific interpretation of the results. Sweave can be used to automatically create reports, but it can be difficult for researchers to add their subject–specific insight to pdf or HTML files. The odfWeave package was created so that the functionality of Sweave can used to generate documents that the end–user can easily edit. The markup language used is the Open Document Format (ODF), which is an open, non– proprietary format that encompasses text documents, presentations and spreadsheets. Version 1.0 of the specification was finalized in May of 2005 (OASIS, 2005). One year later, the format was approved for release as an ISO and IEC International Standard. There are several editors/office suites that can produce ODF files. OpenOffice is a free, open source editor that, as of version 2.0, uses ODF as the default format. odfWeave has been tested with OpenOffice to produce text documents. As of the current version, odfWeave processing of presentations and spreadsheets should be considered to be experimental (but should be supported in subsequent versions). OpenOffice can be used to export the document to MS Word, rich text format, HTML, plain text or pdf formats.
    [Show full text]
  • Extensible Markup Language (XML)
    15 Extensible Markup Language (XML) Objectives • To mark up data, using XML. • To understand the concept of an XML namespace. • To understand the relationship between DTDs, Schemas and XML. • To create Schemas. • To create and use simple XSLT documents. • To transform XML documents into XHTML, using class XslTransform. • To become familiar with BizTalk™. Knowing trees, I understand the meaning of patience. Knowing grass, I can appreciate persistence. Hal Borland Like everything metaphysical, the harmony between thought and reality is to be found in the grammar of the language. Ludwig Wittgenstein I played with an idea and grew willful, tossed it into the air; transformed it; let it escape and recaptured it; made it iridescent with fancy, and winged it with paradox. Oscar Wilde Chapter 15 Extensible Markup Language (XML) 657 Outline 15.1 Introduction 15.2 XML Documents 15.3 XML Namespaces 15.4 Document Object Model (DOM) 15.5 Document Type Definitions (DTDs), Schemas and Validation 15.5.1 Document Type Definitions 15.5.2 Microsoft XML Schemas 15.5.3 W3C XML Schema 15.5.4 Schema Validation in C# 15.6 Extensible Stylesheet Language and XslTransform 15.7 Microsoft BizTalk™ 15.8 Summary 15.9 Internet and World Wide Web Resources 15.1 Introduction The Extensible Markup Language (XML) was developed in 1996 by the World Wide Web Consortium’s (W3C’s) XML Working Group. XML is a portable, widely supported, open technology (i.e., non-proprietary technology) for describing data. XML is becoming the standard for storing data that is exchanged between applications. Using XML, document authors can describe any type of data, including mathematical formulas, software-configu- ration instructions, music, recipes and financial reports.
    [Show full text]
  • Rdfa in XHTML: Syntax and Processing Rdfa in XHTML: Syntax and Processing
    RDFa in XHTML: Syntax and Processing RDFa in XHTML: Syntax and Processing RDFa in XHTML: Syntax and Processing A collection of attributes and processing rules for extending XHTML to support RDF W3C Recommendation 14 October 2008 This version: http://www.w3.org/TR/2008/REC-rdfa-syntax-20081014 Latest version: http://www.w3.org/TR/rdfa-syntax Previous version: http://www.w3.org/TR/2008/PR-rdfa-syntax-20080904 Diff from previous version: rdfa-syntax-diff.html Editors: Ben Adida, Creative Commons [email protected] Mark Birbeck, webBackplane [email protected] Shane McCarron, Applied Testing and Technology, Inc. [email protected] Steven Pemberton, CWI Please refer to the errata for this document, which may include some normative corrections. This document is also available in these non-normative formats: PostScript version, PDF version, ZIP archive, and Gzip’d TAR archive. The English version of this specification is the only normative version. Non-normative translations may also be available. Copyright © 2007-2008 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply. Abstract The current Web is primarily made up of an enormous number of documents that have been created using HTML. These documents contain significant amounts of structured data, which is largely unavailable to tools and applications. When publishers can express this data more completely, and when tools can read it, a new world of user functionality becomes available, letting users transfer structured data between applications and web sites, and allowing browsing applications to improve the user experience: an event on a web page can be directly imported - 1 - How to Read this Document RDFa in XHTML: Syntax and Processing into a user’s desktop calendar; a license on a document can be detected so that users can be informed of their rights automatically; a photo’s creator, camera setting information, resolution, location and topic can be published as easily as the original photo itself, enabling structured search and sharing.
    [Show full text]
  • A Comparison of Two Navigational Aids for Hypertext Mark Alan Satterfield Iowa State University
    Iowa State University Capstones, Theses and Retrospective Theses and Dissertations Dissertations 1992 A comparison of two navigational aids for hypertext Mark Alan Satterfield Iowa State University Follow this and additional works at: https://lib.dr.iastate.edu/rtd Part of the Business and Corporate Communications Commons, and the English Language and Literature Commons Recommended Citation Satterfield, Mark Alan, "A comparison of two navigational aids for hypertext" (1992). Retrospective Theses and Dissertations. 14376. https://lib.dr.iastate.edu/rtd/14376 This Thesis is brought to you for free and open access by the Iowa State University Capstones, Theses and Dissertations at Iowa State University Digital Repository. It has been accepted for inclusion in Retrospective Theses and Dissertations by an authorized administrator of Iowa State University Digital Repository. For more information, please contact [email protected]. A Comparison of two navigational aids for h3q5ertext by Mark Alan Satterfield A Thesis Submitted to the Gradxiate Facultyin Partial Fulfillment ofthe Requirements for the Degree of MASTER OF ARTS Department: English Major; English (Business and Technical Communication) Signatureshave been redactedforprivacy Iowa State University Ames, Iowa 1992 Copyright © Mark Alan Satterfield, 1992. All rights reserved. u TABLE OF CONTENTS Page ACKNOWLEDGEMENTS AN INTRODUCTION TO USER DISORIENTATION AND NAVIGATION IN HYPERTEXT 1 Navigation Aids 3 Backtrack 3 History 4 Bookmarks 4 Guided tours 5 Indexes 6 Browsers 6 Graphic browsers 7 Table-of-contents browsers 8 Theory of Navigation 8 Schemas ^ 9 Cognitive maps 9 Schemas and maps in text navigation 10 Context 11 Schemas, cognitive maps, and context 12 Metaphors for navigation ' 13 Studies of Navigation Effectiveness 15 Paper vs.
    [Show full text]
  • XXX Format Assessment
    Digital Preservation Assessment: Date: 20/09/2016 Preservation Open Document Text (ODT) Format Team Preservation Assessment Version: 1.0 Open Document Text (ODT) Format Preservation Assessment Document History Date Version Author(s) Circulation 20/09/2016 1.0 Michael Day, Paul Wheatley External British Library Digital Preservation Team [email protected] This work is licensed under the Creative Commons Attribution 4.0 International License. Page 1 of 12 Digital Preservation Assessment: Date: 20/09/2016 Preservation Open Document Text (ODT) Format Team Preservation Assessment Version: 1.0 1. Introduction This document provides a high-level, non-collection specific assessment of the OpenDocument Text (ODT) file format with regard to preservation risks and the practicalities of preserving data in this format. The OpenDocument Format is based on the Extensible Markup Language (XML), so this assessment should be read in conjunction with the British Library’s generic format assessment of XML [1]. This assessment is one of a series of format reviews carried out by the British Library’s Digital Preservation Team. Some parts of this review have been based on format assessments undertaken by Paul Wheatley for Harvard University Library. An explanation of the criteria used in this assessment is provided in italics below each heading. [Text in italic font is taken (or adapted) from the Harvard University Library assessment] 1.1 Scope This document will primarily focus on the version of OpenDocument Text defined in OpenDocument Format (ODF) version 1.2, which was approved as ISO/IEC 26300-1:2015 by ISO/IEC JTC1/SC34 in June 2015 [2]. Note that this assessment considers format issues only, and does not explore other factors essential to a preservation planning exercise, such as collection specific characteristics, that should always be considered before implementing preservation actions.
    [Show full text]
  • An Investigation Into World Wide Web Publishing with the Hypertext Markup Language Eric Joseph Cohen
    Rochester Institute of Technology RIT Scholar Works Theses Thesis/Dissertation Collections 11-1-1995 An Investigation into world wide web publishing with the hypertext markup language Eric Joseph Cohen Follow this and additional works at: http://scholarworks.rit.edu/theses Recommended Citation Cohen, Eric Joseph, "An Investigation into world wide web publishing with the hypertext markup language" (1995). Thesis. Rochester Institute of Technology. Accessed from This Thesis is brought to you for free and open access by the Thesis/Dissertation Collections at RIT Scholar Works. It has been accepted for inclusion in Theses by an authorized administrator of RIT Scholar Works. For more information, please contact [email protected]. An Investigation into World Wide Web Publishing with the Hypertext Markup Language by Eric Joseph Cohen A thesis submitted in partial fulfillment of the requirements for the degree of Master of Science in the School of Printing Management and Sciences in the College of Imaging Arts and Sciences of the Rochester Institute of Technology November 1995 Thesis Advisor: Professor Frank Romano School of Printing Management and Sciences Rochester Institute of Technology Rochester, New York Certificate of Approval Master1s Thesis This is to certify that the Master's Thesis of Eric joseph Cohen With a major in Graphic Arts Publishing has been approved by the Thesis Committee as satisfactory for the thesis requirement for the Master of Science degree at the convocation of November 1995 Thesis Committee: Frank Romano Thesis Advisor Marie Freckleton Graduate Program Coordinator C. Harold Goffin Director or Designate Title of Thesis: An Investigation into World Wide Web Publishing with the Hypertext Markup Language September 12, 1995 I, Eric Joseph Cohen, hereby grant permission to the Wallace Memorial Library of RIT to reproduce my thesis in whole or in part.
    [Show full text]
  • Chapter 13 XML: Extensible Markup Language
    Chapter 13 XML: Extensible Markup Language - Internet applications provide Web interfaces to databases (data sources) - Three-tier architecture Client | V Application Programs Webserver | V Database Server -HTML common language for Web pages-not suitable for structure data extracted from DB - XML is used to represent structured data and exchange data on the Web for self-describing documents - HTML, static Web pages; when they describe database data, they are called dynamic Web pages 1. Structured, Semi-structured and Unstructured data -Information in databases is a structured data (employee, company, etc), the database checks to ensure that all data follows the structure and constraints specified in the schema 1 - some attributes may be shared among various entities, other attributes may exist only in few entities Semi-structured data; additional attributes can be introduced later Self-describing data as schema can change Example: Collect a list of biographical references related to a certain research project - Books - Technical reports - Research articles in Journals or Conferences Each have different attributes and information; one reference has all information, others have partial; some references may occur in the future Web, tutorials, etc.. Semi-structured data can be represented using a directed graph. 2 3 Two main differences between semi-structured and object model: 1. Schema intermixed with objects 2. No requirements for a predefined schema Unstructured Data: Limited indication of type of data Example: text document; information is embedded in it 4 HTML document has tags, which specify how to display a document, they also specify structure of a document. HTML uses large number of predefined tags: - Document header - Body - Heading levels - Table - Attributes (tags have attributes) (static and dynamic html) XML Hierarchical Data Model (Tree) The basic object is the XML document.
    [Show full text]
  • The Web 2.0 Way of Learning with Technologies Herwig Rollett
    Int. J. Learning Technology, Vol. X, No. Y, xxxx 1 The Web 2.0 way of learning with technologies Herwig Rollett* Know-Center, Inffeldgasse 21a A-8010 Graz, Austria E-mail: [email protected] *Corresponding author Mathias Lux Department for Information Technology University of Klagenfurt Universitätsstraße 65–67 A-9020 Klagenfurt, Austria E-mail: [email protected] Markus Strohmaier Department of Computer Science University of Toronto 40 St. George Street Toronto, Ontario M5S 2E4, Canada Know-Center, Inffeldgasse 21a A-8010 Graz, Austria E-mail: [email protected] Gisela Dösinger Know-Center, Inffeldgasse 21a A-8010 Graz, Austria E-mail: [email protected] Klaus Tochtermann Know-Center Institute of Knowledge Management Graz University of Technology Inffeldgasse 21a, A-8010 Graz, Austria E-mail: [email protected] Copyright © 200x Inderscience Enterprises Ltd. 2 H. Rollett et al. Abstract: While there is a lot of hype around various concepts associated with the term Web 2.0 in industry, little academic research has so far been conducted on the implications of this new approach for the domain of education. Much of what goes by the name of Web 2.0 can, in fact, be regarded as a new kind of learning technologies, and can be utilised as such. This paper explains the background of Web 2.0, investigates the implications for knowledge transfer in general, and then discusses its particular use in eLearning contexts with the help of short scenarios. The main challenge in the future will be to maintain essential Web 2.0 attributes, such as trust, openness, voluntariness and self-organisation, when applying Web 2.0 tools in institutional contexts.
    [Show full text]
  • Hypertext Newswriting Effects on Satisfaction, Comprehension and Attitudes João Canavilhas Universidade Da Beira Interior Key-W
    Hypertext newswriting effects on satisfaction, comprehension and attitudes João Canavilhas Universidade da Beira Interior Key-words: hypertext; web journalism; online jornalism Abstract More than a decade after the beginning of online journalism, the great expectations of this field of expertise remain unfulfilled. Hypertextuality, multimediality, and interactivity remain original marks as yet unexplored by journalism made on the web (though not for the web). In the specific case of hypertextuality, the subject of this study, its little use is linked with journalists’ time constraints, the absence of an organizational model not limited to copying printed papers, and the fear that readers may reject non-linear reading (Paul, 2005). The latter reason is likely what is most hindering the evolution of web journalism, despite the great potential of online news formed by networks of linked texts. To begin with, it frees the reader, giving them the option to create their own path of reading. Additionally, it offers extra contextual information about the subject, allowing readers to increase their knowledge on the subject according to their own interests. Despite the apparent advantages, such textual networks demand an additional effort of readers to interact with the theme. They must follow links, and skip from text to text, which may be perceived as obstructive to their reading. The passivity imposed by the most powerful medium, television, and the recipients’ deeply-rooted habit of linear readings raise an important question: Will readers value the hypertext contexts to such an extent that they will make that additional effort, or are the newspapers right in their fears of the readers’s reaction? In an attempt to answer this question, an experimental study was carried out assessing the effects of hypertext on levels satisfaction, perception, comprehension, and attitudes 1 of online news readers.
    [Show full text]
  • An Analysis of Dewey Linked Data
    Palabra Clave (La Plata) ISSN: 1853-9912 [email protected] Universidad Nacional de La Plata Argentina Classification on the Web: an analysis of Dewey Linked Data Tomoyose, Kazumi; Simionato Arakaki, Ana Carolina Classification on the Web: an analysis of Dewey Linked Data Palabra Clave (La Plata), vol. 9, núm. 2, 2020 Universidad Nacional de La Plata, Argentina Disponible en: http://www.redalyc.org/articulo.oa?id=350562513005 DOI: https://doi.org/10.24215/18539912e092 PDF generado a partir de XML-JATS4R por Redalyc Proyecto académico sin fines de lucro, desarrollado bajo la iniciativa de acceso abierto Palabra Clave (La Plata), 2020, 9(2), Abril-Septiembre, ISSN: 1853-9912 Avances de investigación Classification on the Web: an analysis of Dewey Linked Data La Clasificación en la web: un análisis de Dewey Linked Data Kazumi Tomoyose DOI: https://doi.org/10.24215/18539912e092 Universidade Federal de São Carlos, Brasil Redalyc: http://www.redalyc.org/articulo.oa? [email protected] id=350562513005 Ana Carolina Simionato Arakaki Universidade Federal de São Carlos, Brasil [email protected] Recepción: 23 Agosto 2019 Aprobación: 12 Noviembre 2019 Abstract: With the availability of information in the World Wide Web its access and retrieval by the users is facilitated, and the Library and Information Science (LIS) field’s knowledge and techniques can be applied to this environment in order to help with the process. e present study is descriptive, qualitative and exploratory, based on bibliographical sources, in which it was explored how the Classification discipline interacts with Linked Data, focusing on the analysis of Dewey Linked Data.
    [Show full text]
  • SGML As a Framework for Digital Preservation and Access. INSTITUTION Commission on Preservation and Access, Washington, DC
    DOCUMENT RESUME ED 417 748 IR 056 976 AUTHOR Coleman, James; Willis, Don TITLE SGML as a Framework for Digital Preservation and Access. INSTITUTION Commission on Preservation and Access, Washington, DC. ISBN ISBN-1-887334-54-8 PUB DATE 1997-07-00 NOTE 55p. AVAILABLE FROM Commission on Preservation and Access, A Program of the Council on Library and Information Resources, 1400 16th Street, NW, Suite 740, Washington, DC 20036-2217 ($20). PUB TYPE Reports Evaluative (142) EDRS PRICE MF01/PC03 Plus Postage. DESCRIPTORS *Access to Information; Computer Oriented Programs; *Electronic Libraries; *Information Retrieval; Library Automation; Online Catalogs; *Preservation; Standards IDENTIFIERS Digital Technology; *SGML ABSTRACT This report explores the suitability of Standard Generalized Markup Language (SGML) as a framework for building, managing, and providing access to digital libraries, with special emphasis on preservation and access issues. SGML is an international standard (ISO 8879) designed to promote text interchange. It is used to define markup languages, which can then encode the logical structure and content of any so-defined document. The connection between SGML and the traditional concerns of preservation and access may not be immediately apparent, but the use of descriptive markup tools such as SGML is crucial to the quality and long-term accessibility of digitized materials. Beginning with a general exploration of digital formats for preservation and access, the report provides a staged technical tutorial on the features and uses of SGML. The tutorial covers SGML and related standards, SGML Document Type Definitions in current use, and related projects now under development. A tiered metadata model is described that could incorporate SGML along with other standards to facilitate discovery and retrieval of digital documents.
    [Show full text]