Re: XS: Construction Rule Features

Subject: Re: XS: Construction Rule Features
From: Paul Grosso <paul@xxxxxxxxxxxxx>
Date: Tue, 27 May 1997 13:42:18 -0500
At 21:44 1997 05 24 -0400, Paul Prescod wrote:
>James Clark wrote:
>> I think the easiest solution would be to say that element construction rule
>> A is more specific that element construction rule B if
>> 
>> (a) A has more element type names than B, or
>> (b) A has the same number of element type names as B, but A has more
>> attribute names than B.
>
>Would it make sense to restrict attributes to the last node? That would
>meet the need I have noticed in stylesheets.

I'd think you'd want to be able to handle such cases as:

  <list type="bulleted">
  <item>xyz</item>
  </list>

that is, the interesting attribute is not necessarily on the last node.

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread