I am trying to determine if the following is legal. I
have been searching the W3C recommendations and can't determine if it
is:
<element
xmlns="http://somenamespace.org"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://somenamespace.org
schema.xsd">
<element1></element1>
<element2></element2>
<newElement xmlns="http://someothernamespace.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://someothernamespace.com
otherschema.xsd">
<newElement1></newElement1>
<newElement2></newElement2>
</newElement>
</element>
Can XML instance use the xsi declaration and the
schemaLocation declaration as I did in the <newElement>
element?
Thanks
Schawn