W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2001

Schema 'include' clause incorporating a variable.

From: Julie Schenk <schenkj@cisco.com>
Date: Thu, 11 Oct 2001 18:36:49 -0400 (EDT)
Message-Id: <4.3.2.7.2.20011011162221.00b53ea8@princeton.cisco.com>
To: xmlschema-dev@w3.org
Hello,

I have the following include clause in my XML Schema:

<xsd:include schemaLocation="types.xsd"/>

The directory location of types.xsd file however will change
from user to user.   What I'd like to do is use something along
the lines of:

<xsd:include schemaLocation="$PATH/types.xsd"/>

where $PATH is the directory path to types.xsd
(ex. /dir/dir/dir).  Is there a way to use "variables", like $PATH
from above, in .xsd schema files?

Input will be much appreciated!

Julie
Received on Friday, 12 October 2001 12:50:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:24 GMT