Create an XML document (Inventory.xml) with the elements 'item details' and 'item' as the root and parent elements respectively. The parent element will have the child element 'item ID', 'name', 'quantity', and 'price'. Add details of two items and display the populated structure (tree structure with data) in Internet Explorer.
Answers
Answered by
0
Answer:
nmsnbskskgdjsjshsksklw
Answered by
0
The parent element will have the child element 'item ID', 'name', 'quantity', and 'price'.
Explanation:
A well-formed XML document must have a corresponding end tag for all of its start tags.
Nesting of elements within each other in an XML document must be proper. For example, <tutorial><topic>
XML</topic></tutorial> is a correct way of nesting but <tutorial><topic>XML</tutorial></topic> is not.
<?xml version = "1.0"?>
<message date="2/11/2021">
<sender> 1234</sender>
<receiversXreceiver> abc </receiver>
<receiver> 1400 </receiver> </receivers>
<text> Submitted Successfully </text>
</message>
Similar questions