Latest Tutorials

Basic example of SVG based font definition in XML

<?xml version="1.0" encoding="utf-8"?> <svg...

Example of namespace in XML

File1.xml <area>     <country>Russia</country>     <capital>Moscow</c...

Example of qualified names in XML

<?xml version="1.0" encoding="UTF-8"?> <root xmlns:r=”http://furniture.com/table”>     &nb...

Example of namespace for attributes

<?xml version="1.0" encoding="UTF-8"?> <root xmlns:r=”http://furniture.com/table”> <table length=”300...

Example of multiple namespaces

<e:area xmlns:e="http://www.earth.com/">     <c:country xmlns:c="http://www.earth.com/country/">  &nbs...

Basic example with XPath in XML

<?xml version="1.0" encoding="UTF-8"?> <root>     <employee>       ...

Example using axes names

child::Root This axis selects element nodes from Root node. child::*[@id] This axis selects child elements from context node with ...

Example of XML node types

<?xml version="1.0" encoding="UTF-8"?> <root>     <employee>       ...

Example of XPath syntax

<?xml version="1.0" encoding="UTF-8"?> <data>     <employee>       ...

Example how to elements and attributes with XPath

<?xml version="1.0" encoding="UTF-8"?> <data>     <employee>       ...