RE: (dsssl) RE: (dsssl) siblings

Subject: RE: (dsssl) RE: (dsssl) siblings
From: DPawson@xxxxxxxxxxx
Date: Thu, 28 Feb 2002 16:13:42 -0000
> Just a question on this thread.
> What is the siblings procedure you are talking about?
> In the DSSSL standard there is a rsiblings (reflexive 
> siblings) procedure,
> and in some points of the standard there is an error and some 
> undefined
> siblings procedure is used, where rsiblings should be used.
> Why you want to use siblings method when the name in DSSSL is 
> rsiblings?

I'm coming to the conclusion that its a sibling-something,
that counts elements only, ignoring character nodes :-)

the one I had been using was from the procedures library.
	(define (siblings #!optional (osnl (current-node)))
		(children (parent osnl)))
As Brandon says.

My confusion was primarily because I expected an element count,
I'd forgotten that chars were also included in the node count.
 Hence my confusion, made worse by the fact that having (or not having)
a DTD in use makes a difference to the result.


Regards DaveP




- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 

14th June 2002 is RNIB Look Loud Day - visit http://www.lookloud.org.uk to
find out all about it.


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

Current Thread