← Prev in month ← Prev in thread

DOCBOOK-APPS: Re: Testing that xrefs point to xreflabels

From
Norman Walsh <>
Date
2002-10-02T17:18:58+00:00
ID
Thread
DOCBOOK-APPS: Re: Testing that xrefs point to xreflabels
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/  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 <>      | 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-----
← Prev in month ← Prev in thread