XML Tutorial

XML stands for Extensible Markup Language. It is used to transport and store data. It is platform-independent and language independent. It is widely used in web-services. It is designed to transport and store data. It has user executive tags i.e. no pre-defined tags like HTML. It is platform independent and language independent language. Index Title Tutorial Features of …

Read moreXML Tutorial

Categories XML

HTML vs XML

Difference between HTML and XML Following are the differences between HTML and XML: HTML XML HTML have pre-defined tags which is used to display data and shows how data looks. XML is a software and hardware independent tool which is used to transport and store data. It is a markup language. It provide framework for …

Read moreHTML vs XML

Syntax

XML Syntax Here simple syntax rules to write in XML document.

The first line syntax is the XML declaration. It defines the xml version and encoding used in the document.

Next line describes the root element of document. <note> Next 4 lines describes the child element of the root elements. <to>Ajay</to> <from>Arun</from> <heading>Reminder</heading> …

Read moreSyntax

XML Technologies

XML Related technologies Following are the XML related technologies: XHTML XML DOM XSL XQuery DTD XSD XLink XPointer SOAP WSDL RDF SVG RSS Technology Description XHTML (Extensible Html). It is markup language. It is used to make HTML more extensible and increase inter-operability with other data. XML DOM (XML Document Object Model). It is standard document model which …

Read moreXML Technologies

XML Documents

It is a basic unit of XML information composed of elements and other markup in an orderly package. It contains wide variety of data. A tree structure is make to describe an XML document. Example of an XML document

In above programing example, first line is XML deceleration, it defines XML versions 1.0. Next …

Read moreXML Documents

XML Comments

XML comments are same as HTML comments. Comments are used as notes to easily understand the purpose of XML code. Comment can be used to include related links, information and terms. They are visible only in the source code, not in XML code. Comment show up anywhere in XML code. Syntax

Comment start with <!— and ends with —>. …

Read moreXML Comments

XML Tags

XML tags are case-sensitive. Tags are most important part in XML. XML tags are the foundation of tags. They can use to insert comments, declare setting required for parsing the environment, and to insert special instructions. It is categorize as follows Start Tag The starting of every non-empty XML element is marked by start-tag. Example …

Read moreXML Tags

XML Processing

Processing instructions are used to pass parameters to an application. These parameters tell the application how to process the XML document. Syntax

Here, target– It identifies the application to which the instruction is directed. instruction– It is a character that describes the information for the application to process. Example The following processing instruction tell …

Read moreXML Processing

XML Validation

XML is a process by which an XML document is validated. An XML document is said to be valid if its content match with the elements, attributes, and associated Document Type Declaration (DTD), and if the document compiles with the constraints expressed in it. Validation is handle in two ways by XML parser. Well-formed XML …

Read moreXML Validation