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] | [Elist Home]

Subject: Re: DOCBOOK-APPS: 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 

I'll take a look at Schematron - thanks.


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

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,

- -- 
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
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>


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

Powered by eList eXpress LLC