(dsssl) Links to URLs

Subject: (dsssl) Links to URLs
From: Brian Leary <Brian.Leary@xxxxxxxxxxxx>
Date: Wed, 19 Dec 2001 16:33:58 -0500
Hi Jany,
>I have been having difficulty posting messages to the list because no
matter
>what I do, my e-mail system changes the text type to HTML or some other non
>recognized format.
>
>Anyway I am not using Docbook modular stylesheets, I am using ones we
>created.
>What we are doing is using XSL with XML to create another XML document
which
>is then run through the Jade engine to create RTF files.  We can very
easily
>link internally within documents but doing an external hyperlink has been
>giving us fits.
>Here are the pieces of my DSSSL document that may help you understand what
I
>am doing.
>An internal link uses the link element with the find attribute and an
>external link uses the ulink element with a citetitle attribute. Our DSSL
>document has info for both types of links.
>
><!DOCTYPE output [
><!ELEMENT output - - (ulink+, link+) >
><!ELEMENT link - - (#PCDATA) >
><!ATTLIST link find IDREF #REQUIRED >
><!ELEMENT ulink - - (#PCDATA) >
><!ATTLIST ulink citetitle IDREF #REQUIRED >
>]>
>
>(element ulink
>   (make link
>	color: color-blue
>      font-weight: 'bold
>	destination: (with-mode #f(idref-address (attribute-string
>"citetitle" (current-node))))
>	(process-children))) 
>
>
>
>(element link
>   (make link
>	color: color-blue
>      font-weight: 'bold
>	destination: (with-mode #f(idref-address (attribute-string "FIND"
>(current-node))))
>	(process-children)))
>
>Now in the RTF output when you mouseover an internal link you get tool tip
>text that says ID_70528 (or link destination) but for the External link you
>get ID_http_58_47_47__www_46_espn_46_com.
>
>If I can get the external link tool tip text to read http://www.espn.com I
>will be all set and the hyperlink document will work.
>Do you have any suggestions for me based on this ? I will also try sending
>this to the keeper of the list and see if he can post it for me. I am
pretty
>new to DSSSL so please bear with me.
>
>Thanks again
>Brian
>
>
>-----Original Message-----
>From: Jany Quintard [mailto:jany.quintard@xxxxxxx]
>Sent: Monday, December 17, 2001 5:48 AM
>To: dssslist@xxxxxxxxxxxxxxxxxxxxxx
>Subject: Re: (dsssl) Links to URLs
>
>
>* B. Tommie Usdin [Fri, 14/12/2001 at 10:19 -0500]
>  > >From: Brian Leary <Brian.Leary@xxxxxxxxxxxx>
>>  >
>>  >Hi I am using XML and DSSSL to create an RTF document. We have figured
>out
>>  >how to create internal links within the document, but we are having
>>  >difficulty creating a link to a URL (i.e - http://www.mulberrytech.com
).
>>  >Can someone tell me if there is a way in DSSSL to do this ?
>Do you use Docbook modular stylesheets or stylesheets of you own?
>Jany
>
>  DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist
>
>------_=_NextPart_001_01C187F9.1769CA20
>Content-Type: text/html;
>	charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
><HTML>
><HEAD>
><META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
>charset=3Diso-8859-1">
><META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
>5.5.2653.12">
><TITLE>RE: (dsssl) Links to URLs</TITLE>
></HEAD>
><BODY>
>
><P><FONT SIZE=3D2>Hi Jany,</FONT>
><BR><FONT SIZE=3D2>I have been having difficulty posting messages to =
>the list because no matter what I do, my e-mail system changes the text =
>type to HTML or some other non recognized format.</FONT></P>
>
><P><FONT SIZE=3D2>Anyway I am not using Docbook modular stylesheets, I =
>am using ones we created.</FONT>
><BR><FONT SIZE=3D2>What we are doing is using XSL with XML to create =
>another XML document which is then run through the Jade engine to =
>create RTF files.&nbsp; We can very easily link internally within =
>documents but doing an external hyperlink has been giving us fits. =
></FONT></P>
>
><P><FONT SIZE=3D2>Here are the pieces of my DSSSL document that may =
>help you understand what I am doing.</FONT>
><BR><FONT SIZE=3D2>An internal link uses the link element with the find =
>attribute and an external link uses the ulink element with a citetitle =
>attribute. Our DSSL document has info for both types of =
>links.</FONT></P>
>
><P><FONT SIZE=3D2>&lt;!DOCTYPE output [</FONT>
><BR><FONT SIZE=3D2>&lt;!ELEMENT output - - (ulink+, link+) &gt;</FONT>
><BR><FONT SIZE=3D2>&lt;!ELEMENT link - - (#PCDATA) &gt;</FONT>
><BR><FONT SIZE=3D2>&lt;!ATTLIST link find IDREF #REQUIRED &gt;</FONT>
><BR><FONT SIZE=3D2>&lt;!ELEMENT ulink - - (#PCDATA) &gt;</FONT>
><BR><FONT SIZE=3D2>&lt;!ATTLIST ulink citetitle IDREF #REQUIRED =
>&gt;</FONT>
><BR><FONT SIZE=3D2>]&gt;</FONT>
></P>
>
><P><FONT SIZE=3D2>(element ulink </FONT>
><BR><FONT SIZE=3D2>&nbsp; (make link</FONT>
><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>color: =
>color-blue</FONT>
><BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; font-weight: 'bold</FONT>
><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
>SIZE=3D2>destination: (with-mode #f(idref-address (attribute-string =
>&quot;citetitle&quot; (current-node))))</FONT>
><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
>SIZE=3D2>(process-children)))&nbsp; </FONT>
></P>
><BR>
><BR>
>
><P><FONT SIZE=3D2>(element link </FONT>
><BR><FONT SIZE=3D2>&nbsp; (make link</FONT>
><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>color: =
>color-blue</FONT>
><BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; font-weight: 'bold</FONT>
><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
>SIZE=3D2>destination: (with-mode #f(idref-address (attribute-string =
>&quot;FIND&quot; (current-node))))</FONT>
><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
>SIZE=3D2>(process-children)))</FONT>
></P>
>
><P><FONT SIZE=3D2>Now in the RTF output when you mouseover an internal =
>link you get tool tip text that says ID_70528 (or link destination) but =
>for the External link you get =
>ID_http_58_47_47__www_46_espn_46_com.</FONT></P>
>
><P><FONT SIZE=3D2>If I can get the external link tool tip text to read =
><A HREF=3D"http://www.espn.com"; =
>TARGET=3D"_blank">http://www.espn.com</A> I will be all set and the =
>hyperlink document will work.</FONT></P>
>
><P><FONT SIZE=3D2>Do you have any suggestions for me based on this ? I =
>will also try sending this to the keeper of the list and see if he can =
>post it for me. I am pretty new to DSSSL so please bear with =
>me.</FONT></P>
>
><P><FONT SIZE=3D2>Thanks again</FONT>
><BR><FONT SIZE=3D2>Brian</FONT>
></P>
><BR>
>
><P><FONT SIZE=3D2>-----Original Message-----</FONT>
><BR><FONT SIZE=3D2>From: Jany Quintard [<A =
>HREF=3D"mailto:jany.quintard@xxxxxxx";>mailto:jany.quintard@xxxxxxx</A>]<=
>/FONT>
><BR><FONT SIZE=3D2>Sent: Monday, December 17, 2001 5:48 AM</FONT>
><BR><FONT SIZE=3D2>To: dssslist@xxxxxxxxxxxxxxxxxxxxxx</FONT>
><BR><FONT SIZE=3D2>Subject: Re: (dsssl) Links to URLs</FONT>
></P>
><BR>
>
><P><FONT SIZE=3D2>* B. Tommie Usdin [Fri, 14/12/2001 at 10:19 =
>-0500]</FONT>
><BR><FONT SIZE=3D2>&gt; &gt;From: Brian Leary =
>&lt;Brian.Leary@xxxxxxxxxxxx&gt;</FONT>
><BR><FONT SIZE=3D2>&gt; &gt;</FONT>
><BR><FONT SIZE=3D2>&gt; &gt;Hi I am using XML and DSSSL to create an =
>RTF document. We have figured out</FONT>
><BR><FONT SIZE=3D2>&gt; &gt;how to create internal links within the =
>document, but we are having</FONT>
><BR><FONT SIZE=3D2>&gt; &gt;difficulty creating a link to a URL (i.e - =
><A HREF=3D"http://www.mulberrytech.com"; =
>TARGET=3D"_blank">http://www.mulberrytech.com</A> ).</FONT>
><BR><FONT SIZE=3D2>&gt; &gt;Can someone tell me if there is a way in =
>DSSSL to do this ?</FONT>
><BR><FONT SIZE=3D2>Do you use Docbook modular stylesheets or =
>stylesheets of you own?</FONT>
><BR><FONT SIZE=3D2>Jany</FONT>
></P>
>
><P><FONT SIZE=3D2>&nbsp;DSSSList info and archive:&nbsp; <A =
>HREF=3D"http://www.mulberrytech.com/dsssl/dssslist"; =
>TARGET=3D"_blank">http://www.mulberrytech.com/dsssl/dssslist</A></FONT>
></P>
>
></BODY>
></HTML>
>------_=_NextPart_001_01C187F9.1769CA20--


-- 
======================================================================
B. Tommie Usdin                        mailto:btusdin@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com  
17 West Jefferson Street                           Phone: 301/315-9631
Suite 207                                    Direct Line: 301/315-9634
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
   Mulberry Technologies: A Consultancy Specializing in SGML and 
XML              
======================================================================

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

Current Thread