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: Re: Can't select link if 'linkend' contains text

Xmplar <info@xmplar.biz> writes:
> I have in a document, d:link - for both links to other text in the document (e.g. link to a
> figure) as well as links to URLs. For both types of links I am using d:link. I would like the
> following code to select only those instances where the @linkend contains the string 'http' -
> and to then put angle brackets before and after those URLs. The if:test syntax under variable
> "content" is obviously wrong - what is the correct syntax for selecting linkends that are only
> URLs?

The linkend attribute is supposed to contain an ID, the ID of the part of *this*
document that you want to link to. If you want to link to another document, you
want the xlink:href attribute (in DocBook V5) or the ulink element in DocBook V4).

Hope that helps.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com>      | Of all the preposterous
http://www.oasis-open.org/docbook/ | assumptions of humanity over
Chair, DocBook Technical Committee | humanity, nothing exceeds most of
                                   | the criticisms made on the habits
                                   | of the poor by the well-housed,
                                   | well-warmed, and well-fed.--Herman
                                   | Melville

Attachment: pgpP2JZgBeHJu.pgp
Description: PGP signature

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