2006/6/22, meddeb <emna.meddeb@atosorigin.com>:
> Hi everybody,
Hi Emna,
> How can I declare my doctype in my XML document as it is specified and in
> the same time force Epic to load my alias file in
> APTCUSTOM/doctypes/servinfo/locale/french ?
>
You should have a look at the "set aliasmap" and "set aliaslocale"
commands that sit in one of the loaded .acl in your
[APTCUSTOM]/editinit (or [APTCUSTOM]/init maybe).
For example, in order to assign an alias to the servinfo type, you shall have
set aliasmap="servinfo"
This is specified in the "Specifying a default alias map for a
document type" help topic (accessible through "set aliasmap" help
page, and I don't know the magic stuff people use here for refering a
help topic by its ID).
When you have to use different document types in the same project, you
should put all document-type-specific code in a file named
"instance.acl" in the DTD directory (e.g.
APTCUSTOM/doctypes/servinfo). This indeed includes the "set aliasmap"
stuff.
> Thank you in advance for any help.
>
You welcome
--
F. -E. B.