OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: XLink title tags in oXygen (was: ulink in oXygen - 2 newbie-ish questions)


Hi Mauritz (if you're still reading here) & everyone

a long time ago Mauritz Jeanson explained to me...
> There is support for processing XLink links in the DocBook XSL stylesheets
> that generate HTML (the support is not complete, however, but xlink:title
> should work).
> 
> This means that if you use a recent version of DocBook XSL (1.73.1 or later;
> Oxygen 8.2 uses an older one), and add an xlink:title attribute in your XML
> source, then it transforms into a title attribute in the HTML output.
> 
> The DocBook XSL distribution that comes with Oxygen is in the
> frameworks/docbook/xsl directory. You can replace it with a newer version,
> or configure the transformation scenario to look for that version in some
> other location of your choice.

Just (finally) got back to the project I was wanting this for!  Thanks
for the info.

I've just downloaded 1.73.2 and put it into /frameworks/docbook/xsl in
Oxygen's directory tree (having renamed the previous xsl directory
there).  Oxygen is still looking for its transformation file in the same
place, ${frameworks}/docbook/xsl/html/docbook.xsl.

The transform as a whole does work, which leads me to think I've
probably got the right files and put them in the right place.  But so
far, I'm still not getting title attributes in the HTML.

Example XML:

<link xlink:href="http://www.example.com/"; xlink:title="an example
title">Link text</link>

Resulting HTML:

<a class="ulink" href="http://www.example.com/"; target="_top">Link text</a>

Is there a simple way I can confirm that it's definitely using the new
XSL files to do the transform?  (can't quite see how it wouldn't be, but
being on the safe side.)

Anything else I can try/test?

thanks

Jennifer

-- 
www.uncharted-worlds.org/blog/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]