Hi Bruce,
You wrote:
> Mike,
>
> Do you know much about xlink?
Not much, actually
> The following example was posted to the MODS list, which strikes me as
> quite interesting. This suggests it ought to be possible to link chapters
> to books and articles to journals as well...
>
> I'm unclear on how an XSLT processor handles these links though, as my
> initial experiments (with an external file containing just journal names)
> didn't work.
I don't think XSLT processors are designed to do anything special with
xlink attributes. I think they see them as being just like any other
attribute. To do anything with document instances that contain xlinks, I
think you need to use stylesheets that are set up to process them.
I'm not sure what exactly you mean about linking chapters
to books and articles to journals, but if you're talking about
cross-document links, I don't think xlink is going to do any magic as
far as that goes. Even with your stylesheets set up to process xlinks,
if you want to link to something that's in a different physical file,
you'll either need to just use an absolute URI to it, or use something
like the DocBook olink mechanism that Bob Stayton added support for to
the DocBook XSLT stylesheets.
--Mike
|