October 2018
Beginner
114 pages
2h 36m
English
XPath has seven different types of nodes: element, attribute, text, namespace, processing-instruction, comment, and document nodes.
Let's talk about the following example of an XML document. This document shows us the XML structure about a product of a publisher; the title of this product is Quick Start Guide:R, the author of this product is Olgun Aydin, and the publication date of it is 2018:
<?xml version="1.0" encoding="UTF-8"?> <publisher> <product> <title lang="en">Quick Start Guide: R</title> <author>Olgun Aydin</author> <year>2018</year> </product> </publisher>
On following the XML structure, we can see the following types of XML nodes:
<publisher> (root element node)<author>J Olgun Aydin</author> (element node)lang="en" (attribute ...
Read now
Unlock full access