Skip to main content

Posts

Showing posts with the label xml

MCs-051, June2007,1(iv), Three type of entities

Internal Entities : If entities stored in declaration tag within same document, it is called internal entity. for example <!ENTITY BCA "Bachelor of Computer Application" > It is internal entity and we can use it as &bca; anywhere in the document. When XML parser process these entities, it replaces them to their corresponding values.   External Entities : Entities those point external source of contents like pointing external xml file are referred as External entities. for example; <ENTITY course SYSTEM "/location/course.xml"> this entity is pointing external document course.xml. where XML parser interpret this entity, contents of course.xml document are inserted at the location of entity.   Parameter Entities. Parameter are entites those are used to hold the DTD's declarations as a parameters. Using parameter entities (prefixed with a %), a type entity can be created. Then this entity can replace the parameter list. The % type; entity...

XML

   Definition: XML stands for Extensible Markup Language. This is self defined language in which data and structure of data are placed within a XML document. An XML document is Unicode text file that contains data with markup that defines the structure of data. An XML is a Meta language in which we write data and data about data. XML document can be interpreted easily, because it contains the information, How to interpret it.    XML Document XML document normally consists of prolog and document body. Prolog : provides necessary information for interpretation of the contents of the document body.   It contains two components of the prolog, in the sequence in which they must appear. XML Declaration (*required) :It consists of                             ...