Quantcast
Viewing latest article 37
Browse Latest Browse All 42

Answer by Ali Khalid for What is the purpose of the separating tag

The <more\> is a empty child element of the <Item> element. You can rewrite the above example as

<?xml version='1.0'?><!-- This is a sample XML document --><Items><Item>test with a child element<more></more>                stuff</Item></Items>

Its purpose it to show that you can mix text content and elements inside other elements.


Viewing latest article 37
Browse Latest Browse All 42

Trending Articles