aldaris / docbook-linktester

Tests external links and olinks in DocBook documentation for validity
3 stars 1 forks source link

Add support for <xref linkend="section-id" /> #14

Open dgoldssfo opened 8 years ago

dgoldssfo commented 8 years ago

We use xrefs with linkend extensively for links within a document. They function like olinks but there is no need to specify a targetdoc.

For example, this xref in the Admin Guide:

<xref linkend="change-signing-key" />

would reference the same section as the following olink:

<olink targetdoc="admin-guide targetptr="change-signing-key" />

The output from the two differs, but I don't think that is an issue for linktester.

Thanks,

David

markcraig commented 8 years ago

Output is definitely not related to docbook-linktester. I believe that docbook-linktester already supports <xref> checking just fine.