XML Examples
Example of XML DOM properties
December 28th, 2017
The example below shows usage of some of the properties explained above.
element.xml
<?xml version='1.0'?>
<r...
Example of childNodes property in XML
December 28th, 2017
element.xml
<?xml version='1.0'?>
<root>
<!--Comment 1-->...
Example of XML and SVG blur effect on a square
December 28th, 2017
demographics.xml
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="demoGraphics.xsl" type=&quo...
Example of XML schema elements
December 28th, 2017
<xs:element name=”UNO” type=”xs:string” fixed=”United Nations Organisation” />
<xs:element name=”emp_ID”...
Example of XML schema attributes
December 28th, 2017
<xs:attribute name=”lang” type=”xs:string” default=”EN” use=”required”/>
Example of simple type of XML schema
December 28th, 2017
<xs:element name="itemName">
<xs:simpleType>
<xs:restriction base="xs:string">
 ...
Example of complex type of XML schema
December 28th, 2017
<xs:element name="item">
<xs:complexType>
<xs:sequence minOccurs=”1” maxOccurs=”unbou...