hithanks for the answer ...i use the include schema, and using SW with xml Lib - it workswhat does not work - is using it through the xmlSPYbelow is the schema i want - it consist of scenario_list whihc is a list of scenarios, and using an xml schema for the scenario ...i am not sure whether the problem is mine, or maybe it's a feature within xmlSPY ...thanks again Iris?xml version="1.0" encoding="utf-8"?><!-- edited with XMLSpy v2006 U (http://www.altova.com) by Iris (SW) --><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xi="http://www.w3.org/2001/XInclude"> <xs:include schemaLocation="schemaScenario.xsd"/> <xs:element name="scenario_list"> <xs:annotation> <xs:documentation/> <xs:appinfo source="scenario">Comment describing your root element</xs:appinfo> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="scenario" type="scenarioType" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>