W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > December 1996

Re: RS/RE, again (sorry)

From: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
Date: Tue, 17 Dec 1996 15:21:32 -0500
Message-Id: <1.5.4.32.19961217202132.009833c4@csclub.uwaterloo.ca>
To: w3c-sgml-wg@w3.org
At 08:20 AM 12/17/96 -0800, Jon Bosak wrote:
>Allow me to wallow in ignorance a bit further.  I'm finding it hard to
>visualize a situation in which I would want to address something based
>on pseudo-element relationships rather than "genuine" tree
>relationships.  It's easy to imagine cases where I would want to refer
>to the TITLE descendant of my ancestor CHAPTER, for example, but I
>have never wanted to refer to the third linefeed in an element.  

No, but maybe to the "third node" in an element. If a linefeed is a node,
your count will be different than if it is not. 

For instance, maybe you want a bullet on the "first" sub-element of a list
item (usually a <paragraph>, but perhaps occasionally a <note>). 

<UITEM>
<P>Foo</P>
<note>Bar</note>
</UITEM>

Is that node the whitespace before the paragraph, or the paragraph itself?
Despite the hand-waving about the "stylesheet can handle it", I think it
would be a constant annoyance.

 Paul Prescod
Received on Tuesday, 17 December 1996 15:18:45 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:03:49 EDT