[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: X-Referencing

Subject: Re: X-Referencing
From: "Nikolai Grigoriev" <grig@xxxxxxx>
Date: Sun, 26 Dec 1999 14:32:31 +0300
x referencing
Jeremy Quinn wrote:

>Thing is, I am using the <link> tag in two different ways.
>As a "container" and as a "pointer".
>Is it possible to write a DTD that will be smart enough to validate
>both usages?
>
>Can you say for instance that in one situation it has to have an "id"
>attribute and "ref" element, while in another it has to have an "idref"
> attribute?

Nope.

>I could come up with a new name, but I like the symmetry.

Well, in an approach that I believe reasonable, bearing the same
name implies sharing the same function. The two usages of
<link> are related but opposite by their function (link origin vs.
link target). They are antisymmetrical rather than symmetrical,
and I see no aesthetic reasons for keeping them homonymous
(though "de gustibus non est disputandum" ;-)).

Cheers,
Nikolai






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • X-Referencing
    • Jeremy Quinn - Sat, 25 Dec 1999 13:04:59 +0000
      • <Possible follow-ups>
      • Nikolai Grigoriev - Sun, 26 Dec 1999 14:32:31 +0300 <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.