links with JADE RTF

Subject: links with JADE RTF
From: "Michael Schopen" <schopen@xxxxxxxx>
Date: Tue, 5 May 1998 08:53:08 +0000
Comments: Authenticated sender is <schopen@pop3host.dimdi.de>
Hello experts,

I am trying to set up hypertext links in RTF files produced with 
JADE. The following SGML file 

<!DOCTYPE test [
<!ELEMENT test - - (anchor+, link+) >
<!ELEMENT anchor - - (#PCDATA) >
<!ATTLIST anchor id ID #REQUIRED >
<!ELEMENT link - - (#PCDATA) >
<!ATTLIST link to IDREF #REQUIRED >
]>
<test>
<anchor id="a1">That's anchor 1.</anchor>
<anchor id="a2">And that's anchor 2.</anchor>
<link to="a1">That's a link to anchor 1 ...</link>
<link to ="a2">And that's a link to anchor 2 ...</link>
</test>

works fine with the following style specification:

<!doctype style-sheet PUBLIC "-//James Clark//DTD DSSSL Style
Sheet//EN" >

(element TEST
 (make simple-page-sequence
       top-margin: 1.25cm
       bottom-margin: 1.5cm
       left-margin: 1cm
       right-margin: 1cm
       input-whitespace-treatment: 'collapse
       quadding: 'start
       (process-children)))


(element anchor
  (make paragraph
    (process-children)))

(element link
  (make paragraph
  (make link
    destination: (idref-address (attribute-string "TO")))))

But, there is always an extra blank at the start of the link in the 
RTF file.

I am not sure whether this is problem of the JADE RTF backend or of
WinWord 97. Any help?

Thanks in advance.
Michael Schopen
--
====================================================
Dr. med. Michael Schopen     Tel. +49 221 4724 325
Deutsches Institut fuer      Fax. +49 221 41 14 29
medizinische Dokumentation 
und Information DIMDI        http://www.dimdi.de
Weisshausstrasse 27
D-50939 Koeln                email:s#chopen@xxxxxxxx 
>>>   remove # to use email address   <<<
====================================================


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • links with JADE RTF
    • Michael Schopen - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id DAA12334Tue, 5 May 1998 03:01:17 -0400 (EDT) <=
      • G. Ken Holman - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA20973Tue, 5 May 1998 09:43:28 -0400 (EDT)
        • Michael Schopen - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA21885Tue, 5 May 1998 10:49:00 -0400 (EDT)
          • G. Ken Holman - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id RAA28518Tue, 5 May 1998 17:05:00 -0400 (EDT)
          • Michael Schopen - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id DAA05834Wed, 6 May 1998 03:08:39 -0400 (EDT)