AnsweredAssumed Answered

Included schema locations for Web Forms

Question asked by richee on Apr 18, 2007
Latest reply on Apr 18, 2007 by arielb

I am trying to define schemas for some web forms. Many blocks of content on my site can be modularised and reused, so I would like to include smaller schemas in larger ones, using: -
<xs:include schemaLocation="…"/>
This will work provided my smaller schemas are located within the web app itself and not in the data dictionary.
I dont want to have my smaller schema definitions in the web app as I dont want to split locations and also dont want them mixed with published content. I would much rather have them placed within the data dictionary - possibly under a space called "components".

I have not managed to get this to work successfully although
implies I can.

I have my data dictionary structure as follows: -

Web Forms
|> Home Page
|    |
|    |> home.xsd
|> Components
|    |
|    |> links.xsd

The file home.xsd includes the line

<xs:include id="links" schemaLocation="../Components/links.xsd" />

Can anyone tell me if this is possible and if so, what path to use in the schema location?