DuCharme, Bob | 15 Oct 21:14
Favicon

[Serna] Getting Serna to recognize a DITA specialization

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]").
 
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."
cherdn | 16 Oct 14:17
Favicon

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."

DuCharme, Bob | 16 Oct 17:18
Favicon

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."

Eliot Kimber | 18 Oct 06:07
Favicon

Re: [Serna] Getting Serna to recognize a DITA specialization

On 10/16/07 10:18 AM, "DuCharme, Bob"
<bducharme@...> wrote:

> 
> 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?

Based on my experience, it is not necessary to have a schema--I got the
specialization-specific SDT to work by simply deleting the xml-schema
element.

Once I did that everything worked as I would expect and desire.

Cheers,

E.

--

-- 
W. Eliot Kimber
Senior Solutions Architect
Really Strategies, Inc.
"Bringing Strategy, Content, and Technology Together"
Main: 610.631.6770
www.reallysi.com
www.rsuitecms.com

Sent using the Microsoft Entourage 2004 for Mac Test Drive.


Gmane