Yes, though there's no need to declare the xsi: namespace again since you declared it on "element" and it's still in scope.
"Thropp, Shawn" <[EMAIL PROTECTED]> wrote on 02/18/2005 11:10:17 AM: > 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 Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]