Re: DOCBOOK-APPS: alternate ulinks for print and html?

From
Peter Eisentraut <>
Date
2001-06-23T23:53:33+00:00
ID
Thread
Re: DOCBOOK-APPS: alternate ulinks for print and html?
Kevin Dunn writes:

> Is it possible to provide different URLs for ulinks depending on whether I am using a print or html stylesheet? I don't want to do this for all ulinks, just select ones. I am picturing something like:
> <ulink url="printurl.com" type="print">Somewhere</ulink>
> <ulink url="htmlurl.com" type="html">Somewhere Else</ulink>
> where only one of these would generate a link, depending on the backend.

Marked sections would probably work best.  Otherwise you'd need to modify
the style sheet.

> Is there an existing attribute for differentiating print and html markup?

role seems to be a good candidate.

-- 
Peter Eisentraut      http://funkturm.homeip.net/~peter