This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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   peter_e@gmx.net   http://funkturm.homeip.net/~peter


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]