Groups | Blog | Home
all groups > dotnet xml > august 2005 >

dotnet xml : Nested schemas


SideByEach
8/23/2005 7:23:21 AM
I have a schema that references a child schema via a "xs:import" node.
In that child schema it references several other grand children
schemas. Is there an object in the VS 2K5 suite which will allow me to
consolidate all the nested schemas into one giant schema?

I've tried using the XmlSchemaSet object, but I cannot find a way to
serialize the compile schema. I'd appreciate any help or advice.
Stan Kitsis [MSFT]
8/23/2005 12:27:26 PM
If you are using <xs:import>, these schemas are in different namespaces.
You can only have one namespace per file. So unless you want to
remove/merge namespaces, you cannot do what you are asking.

--
Stan Kitsis
Program Manager, XML Technologies
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

AddThis Social Bookmark Button