
I have a schema, that starts out with: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <xs:schema elementFormDefault="qualified" version="1.0" targetNamespace="http://portal.earthscope.org" xmlns:esdp="http://portal.earthscope.org" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"> <xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/feature.xsd"> </xs:import> <xs:import namespace="http://www.opengis.net/ogc" schemaLocation="http://schemas.opengis.net/filter/1.1.0/filter.xsd"> </xs:import> ... When I try to create a new XML document and select this schema file, the create doc wizard chooses the ogc namespace, and therefore offers up as root element all the elements defined in the imported ogc schema. I would like to get the elements defined in *this* schema under the target namespace. I can't seem to change the offered namespace.
How do I get the create XML document wizard to choose the targetNamespace and the elements defined in this schema document?
Running Oxygen 8.2 on Mac OSX 10.4 Thanks, Linus