|
network schema and fallback local schema -
06-10-2009, 08:57 PM
I want to maintain my schema on a network location. Serna is able to find and resolve these schema very well.
When a network connection is not available, I want Serna to look in the local installation's schema directory.
In the SDT file, I put two <t:xml-schema> elements:
<t:xml-schema>http://example.com/topic.xsd</t:xml-schema>
<t:xml-schema>$SERNA_TEMPLATE_DIR/schema/topic.xsd</t:xml-schema>
This seems to work. It tries to resolve the first one and falls back to the second. Is this a recommended practice? Will Serna continue to support this feature?
I could not find answers in the developer guide. If this is recommended, please add it to the document.
-seth park
|