This isn't what you asked about, but the first schemaLocation (on element) isn't legal. You left out the namespace.

Bob Foster

Thropp, Shawn wrote:
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





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to