This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Testing that xrefs point to xreflabels
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
/ martin.gautier@myrnham.co.uk was heard to say:
| I'm wanting to check my docbook XML files to ensure that all <xref> tags
| contain valid links to <xreflabel> tags.
There's no xreflabel element, so I'm not sure what you mean. If you
just want to make sure all the links are valid, a validating parser
will test that every 'linkend' points to an 'id'.
If you want xrefs to only point to certain classes of elements, check
out Schematron.
Be seeing you,
norm
- --
Norman Walsh <ndw@nwalsh.com> | People often say that this or that
http://www.oasis-open.org/docbook/ | person has not yet found himself.
Chair, DocBook Technical Committee | But the self is not something one
| finds, it is something one
| creates.--Thomas Szasz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>
iD8DBQE9myofOyltUcwYWjsRAp89AKCBBWC1wmrfyMITi4IB03tE1uX66QCgrnNk
F0M79Asb6z+yTl07XV8wXIw=
=WcZf
-----END PGP SIGNATURE-----