By: | 27 May 2016 | Category: XML Introduction
What is XML ? Well XML stands for eXtensible markup language. So what is a markup language, well a markup language is a language that has features we use to augment text. It enables us to give semantics to text.Read More
By: | 28 May 2016 | Category: XML Introduction
As we have said XML is an extensible markup language. XML is a format for giving structure, and also semantics to data. XML stems from Standard Generalized Markup Language (SGML). SGML is the ancestor if you like of the XML Language.Read More
XML is an eXtensible markup language. We will talk about the different components that make up an XML document specifically in this section we will talk about XML Elements. An XML element is the basic unit of structure in an XML document. An element in an XML document is delimited by a start tag and an end tag.Read More
We have previously talked about XML elements and have said that XML elements should resemble concepts in the domain of interest. In this section we talk about XML attributes. An XML Attribute can be contained within the start tag of XML Element. An XML Attribute can be contained within the start tag of XML Element. Attributes allow you to define characteristics on an element. XML attributes allow you to provide an XML element with more data that describes it.Read More
In this section we will talk briefly about some of the best practices regarding XML Elements. When choosing names for your XML language, you should pick descriptive names that closely match your domain. When choosing names for your XML language, you should pick descriptive names that closely match your domain. For example if we are considering a sentences we could have element names such as sentence, word etc.Read More
We can use different styles for representing names within our XML document. However, the naming style we choose for our documents should be consistent.Read More
XML allows you to declare data in both elements and attributes. A common question in XML design is whether to use an element or attribute for a data item.Read More
XML processing instructions are added to a document to provide special information to the application processing an XML document. You have probably already seen an XML processing instruction even if you did not realize it.Read More
XML allows you to place comments within an XML document. As with any programming language, comments allow you to provide some extra information that describes the content.
XML comments have no special processing.
XML is an eXtensible markup language. We will talk about the different components that make up an XML document and what it means for an XML document to be well formed. XML enhances text with semantics in other words XML gives meaning to text. XML defines strict syntactic rules for what constitutes a well-formed XML Document. Lets consider what makes an XML document well formed.Read More
XML documents contain two types of white spaces namely Significant Whitespace and Insignificant Whitespace. It is important to have an understanding of how white space works within XML documents as there can be some subtleties when you’re working with a variety of XML technologies. XML significant whitespace is whitespace that cannot be easily ignored. This category of whitespace occurs within elements such as within the elements text content or it can occur in mixed content, elements and text mixed together. This text will get passed to the application exactly as is.Read More