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


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: Linking in DocBook V5.0



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 08:07 14-11-2001, Norman Walsh wrote:
>One outstanding problem is the link attribute names. Unfortunately,
>XLink doesn't allow the XLink HREF attribute to be renamed, so we'll
>have to battle the linkend vs xlink:href problem. I think we have
>two options, we could:
>
>1. Switch. Remove linkend and break everything all at once.
>
>or
>
>2. Allow both in V5 and remove linkend in V6. Stipulating that when both
>    are present linkend wins (or xlink:href wins, whichever).

I like allowing both, for a simple reason: xlink:href is an XPointer, and 
linkend is an IDREF.  For internal references, the IDREF is more 
convenient.  In doctypes I've designed that have internal and external 
linking from the same element type, I tend to exploit this dichotomy, since 
I (or my stylesheets) can know more about the destination when it's internal.

~Chris
- -- 
Christopher R. Maden, Principal Consultant, HMM Consulting Int'l, Inc.
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://www.hmmci.com/ > <URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8

iQA/AwUBO/OrSqxS+CWv7FjaEQItIwCg7Ybp5PjBn4N4f/jzXdMAw7KDeuEAnAq0
hfBLmnwKvo3wFt3wSFYgShwM
=UKHI
-----END PGP SIGNATURE-----


----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


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