This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Testing that xrefs point to xreflabels


Sorry, just a typo - I was refering to the common attribute "xreflabel" 
that I've added to stuff like <chapter> & <section>

My Parser tends to chuck out loads of noise - My aim is to get just a nice 
little list of <xref>s that don't point anywhere that I could refer to 
when editing. My source docs are 600+ page files that are littered with 
xrefs...

I'll take a look at Schematron - thanks.

Mart





Norman Walsh <ndw@nwalsh.com>
02/10/02 18:17

 
        To:     martin.gautier@myrnham.co.uk
        cc:     docbook-apps@lists.oasis-open.org
        Subject:        DOCBOOK-APPS: 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-----





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]