Computer Science, asked by Kristen9180, 4 months ago

Project work on XML tree in school

Answers

Answered by parvati1527
1

Answer:

XML Tree

XML documents form a tree structure that starts at "the root" and branches to "the leaves".

XML Tree Structure

DOM node tree

An Example XML Document

The image above represents books in this XML:

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

<bookstore>

<book category="cooking">

<title lang="en">Everyday Italian</title>

<author>Giada De Laurentiis</author>

<year>2005</year>

<price>30.00</price>

</book>

<book category="children">

<title lang="en">Harry Potter</title>

<author>J K. Rowling</author>

<year>2005</year>

<price>29.99</price>

</book>

<book category="web">

<title lang="en">Learning XML</title>

<author>Erik T. Ray</author>

<year>2003</year>

<price>39.95</price>

</book>

</bookstore>

Similar questions
Economy, 2 months ago