Let us understand the concept of XML with Android Training in Chandigarh
The Syntax of XML can be thought of at two distinct level .
1. First, there is the general low-level syntax of XML that imposes its rules on all XML documents.
2. The other syntactic level is specified by either document type definitions (DTD ) or XML schemas.
There are two kinds of specifications impose structural syntactic rules on documents written with specific. XML tag sets. DTDs and XML schemas specify the set of tags and attributes that can appear in a particular document or collection of documents, and also the orders and various arrangements in which they can appear. So, either a DTD or an XML schema can be used to define an XML based markup language.Android Training in Chandigarh is most helpful way to learn any concept
An XML document can include several different kinds of statements. The most common of these are the data elements of the document. XML documents may also include markup declarations, instructions, which are instructions for an application program that will process the data described in the document.
An XML document can include several different kinds of statements. The most common of these are the data elements of the document. XML documents may also include markup declarations which are instructions to the XML parser, and processing instructions, which are instructions for an application program that will process the data described in the document.
All XML document begin with an XML Deceleration,which has the appearance of a processing instruction but technically is not one. The XML declaration identifies the document as being XML and provides the version number of the XML standard being used. It may also specify an encoding standard.
Comments in XML, are the same as in HTML. They cannot contain two adjacent dashes, for obvious reasons.
An XML name must begin with a letter or an underscore and can include digits, hyphens and periods. XML names are case sensitive, so body, body, and BODY are all distinct names. There is no length limitation for XML names.
A small set of syntax rules applies to all XML documents. XHTML uses the same rules.
Every XML Document defines a single root element, whose opening tag must appear on the first line of XML code. All other elements of an XML document must be nested inside the root element. The root element of every XHTML document is html. XML tags, like those of XHTML, are surrounded by angle brackets.
Every XML element that can have content must have a closing tag. There are some those Elements which does not include content that must use a tag with the following form:
<element_name/>
As is the case with XHTML, XML tags can have attributes, which are specified with name/value assignments. As with XHTML, all attribute values must be enclosed by either single or double quotations marks.
XML Syntax Rules :
1. All XML Elements Must have a closing tag : It is illegal to omit the closing tag when anyone is creating XML syntax, XML elements must have a closing tag.
2. XML tags are Case Sensitive : When one creates XMl documents, the tag <Body> is different from the tag <body>
3. All XML Elements must be properly nested : Improper Nesting of tags makes no sense to XML.
4. All XML Documents must have a Root Element : All XML documents must contain a single tag pair to define a root element. All other elements must be within this root element. All element can have sub element ( child elements ). Sub elements must be correctly nested with in their parent element.
These concept is more further be learned with Android Training in Chandigarh in detail
The Syntax of XML can be thought of at two distinct level .
1. First, there is the general low-level syntax of XML that imposes its rules on all XML documents.
2. The other syntactic level is specified by either document type definitions (DTD ) or XML schemas.
There are two kinds of specifications impose structural syntactic rules on documents written with specific. XML tag sets. DTDs and XML schemas specify the set of tags and attributes that can appear in a particular document or collection of documents, and also the orders and various arrangements in which they can appear. So, either a DTD or an XML schema can be used to define an XML based markup language.Android Training in Chandigarh is most helpful way to learn any concept
An XML document can include several different kinds of statements. The most common of these are the data elements of the document. XML documents may also include markup declarations, instructions, which are instructions for an application program that will process the data described in the document.
An XML document can include several different kinds of statements. The most common of these are the data elements of the document. XML documents may also include markup declarations which are instructions to the XML parser, and processing instructions, which are instructions for an application program that will process the data described in the document.
All XML document begin with an XML Deceleration,which has the appearance of a processing instruction but technically is not one. The XML declaration identifies the document as being XML and provides the version number of the XML standard being used. It may also specify an encoding standard.
Comments in XML, are the same as in HTML. They cannot contain two adjacent dashes, for obvious reasons.
An XML name must begin with a letter or an underscore and can include digits, hyphens and periods. XML names are case sensitive, so body, body, and BODY are all distinct names. There is no length limitation for XML names.
A small set of syntax rules applies to all XML documents. XHTML uses the same rules.
Every XML Document defines a single root element, whose opening tag must appear on the first line of XML code. All other elements of an XML document must be nested inside the root element. The root element of every XHTML document is html. XML tags, like those of XHTML, are surrounded by angle brackets.
Every XML element that can have content must have a closing tag. There are some those Elements which does not include content that must use a tag with the following form:
<element_name/>
As is the case with XHTML, XML tags can have attributes, which are specified with name/value assignments. As with XHTML, all attribute values must be enclosed by either single or double quotations marks.
XML Syntax Rules :
1. All XML Elements Must have a closing tag : It is illegal to omit the closing tag when anyone is creating XML syntax, XML elements must have a closing tag.
2. XML tags are Case Sensitive : When one creates XMl documents, the tag <Body> is different from the tag <body>
3. All XML Elements must be properly nested : Improper Nesting of tags makes no sense to XML.
4. All XML Documents must have a Root Element : All XML documents must contain a single tag pair to define a root element. All other elements must be within this root element. All element can have sub element ( child elements ). Sub elements must be correctly nested with in their parent element.
These concept is more further be learned with Android Training in Chandigarh in detail