RE: [Serna] Getting Serna to recognize a DITA specialization
Daria Chernova wrote:
>You should create Serna's template (*.sdt) where set all metadata for
your type of document.
>See documentation:
>Syntext Serna 3.5 Developer's Guide -> Document Template Development
http://www.syntext.com/products/serna/doc/developers_guide/#doc-tmpl-dev
tells us that the xml-schema element of an sdt file is the "Path to XML
schema for document validation", that dtd-pubid "Specifies DTD PUBID for
newly created documents," and that dtd-sysid "Specifies DTD SYSID for
newly created documents." If the DTD specifications are only for IDs in
new documents, it sounds like Serna support for DITA specialization
requires the use of a W3C schema instead of a DTD. IS this true? It was
my understanding that, in the DITA world in general and in the DITA Open
Toolkit specifically, specialization using W3C schemas was a bit behind
DTD-based specialization.
Has anyone successfully created DITA specialization sdt and xsd files so
that the full Serna DITA menu (Insert External Conref, etc.) worked with
elements that were not part of the DITA standard?
Thanks,
Bob
-----Original Message-----
From: cherdn@...
[mailto:cherdn@...]
Sent: Tuesday, October 16, 2007 8:18 AM
To: DuCharme, Bob
Cc: serna-users@...
Subject: Re: [Serna] Getting Serna to recognize a DITA specialization
Hello Bob,
> The Serna+DITA Tutorial is good, but I couldn't find any
> documentation on setting up Serna to recognize a DITA specialization
when it sees one.
> if I have a document with a valid myTask element based on the DITA
> task element using DITA syntax so that the DITA Open Toolkit knows
> what to do with a myTask element, how can I get Serna to recognize it?
> (Despite the document pointing to a DTD that declares myTask and
> includes all necessary connections to the DITA DTD modules, Serna
> tells me "Element type for '{}myTask not found [myTask]").
You should create Serna's template (*.sdt) where set all metadata for
your type of document.
See documentation:
Syntext Serna 3.5 Developer's Guide -> Document Template Development
As an example you may take sdt file for the DITA task:
"c:\Program Files\Syntext\Serna-3.5\plugins\dita\oasis-dita-task-11.sdt"
Thank you.
Regards,
Daria Chernova
> thanks,
>
> Bob
>
>
>
>
> Disclaimer:
> -----------
>
> "This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this e-mail or any action taken in reliance on
this e-mail is strictly prohibited and may be unlawful."
Disclaimer:
-----------
"This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the intended recipient, please contact
the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this e-mail or any action taken in
reliance on this e-mail is strictly prohibited and may be unlawful."