Duplicate tag names allowed in XML specification ?

Hello is the following valid xml ?<a> <a> hello world </a></a>It's a philosophical q rather than something I'm planning to implement. Thanks, Bhishma
[231 byte] By [Bhishmaa] at [2007-10-3 2:56:59]
# 1

Yes, it is fully allowed by the XML specs. Whether it is allowed by a DTD or Schema is another story.

It is common in html in the following use:

<ol>

<li>abc</li>

<ol>

<li>sub list item</li>

<li>sub item </li>

</ol>

</ol>

Dave Patterson

d.pattersona at 2007-7-14 20:46:19 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Thanks; good example.
Bhishmaa at 2007-7-14 20:46:19 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...