Rabu, 28 Desember 2016

How to define XML schema Instance

A XML document which adheres to the schema is known as a schema instance. An instance of a schema must include specifications of the namespaces it uses. These are given as attribute assignments in the tag for its root element. First attribute, xmlns defines the default namespace to be the one defined in its schema as shown below: <students  xmlns = “http://ift.tt/2iEaDq2 Second attribute, specifies the standard namespace for instances, which is XMLSchema-instance as shown below: xmlns:xsi = “http://ift.tt/2i7d47y Third attribute, schemaLocation specifies the location of the default namespace as shown below: xsi: schemaLocation = “http://ift.tt/2iE4cDs students.xsd”  An example for

The post How to define XML schema Instance appeared first on Coding Security.


How to define XML schema Instance
read more

Tidak ada komentar:

Posting Komentar