I have validated the following basic example but is it correct? Is this really valid XML or is it simply bad practise? I know it works for XHTML but is this really a likely scenario?
Many thanks
A
<?xml version="1.0" encoding="UTF-8"?>
<test>
<mynode>
value
<inner>value2</inner>
</mynode>
</test>
Yes.valid XML only .But the below code is better