How can I add a new children in a node??

Subject: How can I add a new children in a node??
From: Reyes Garcia Rosado <reyes.garcia@xxxxxxxxxx>
Date: Thu, 30 Sep 1999 09:20:08 +0200
Hello again!!

I have another question.
I want to make:

	OLD:					NEW:
	<FATHER>				<FATHER>
		<SOON-A> ... </SOON-A>		<SOON-NEW> ... </SOON-NEW>
		<SOON-B> ... </SOON-B>		<SOON-A> ... </SOON-A>
	</FATHER>					<SOON-B> ... </SOON-B>
						</FATHER>


I have made this with:
	(element FATHER 
		(make element gi: FATHER)
			(make sequence 
				(make element gi: "SOON-NEW" (literal "New") )
				(process-matching-children "SOON-A")
				(process-matching-children "SOON-B")
			)		
		)
	)

this works good, but I want not write the names of the old soons. (The
soons are written with a default procedures).

I need somthing like:
	(element FATHER 
		(make element gi: FATHER)
			(make element gi: "SOON-NEW" (literal "New") )
			(Soons)
		)
	)

I have try to work with (children (current-node)) and another ways, but
don't go.

Is there a way to make this?

Regards,
	  Reyes


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


Current Thread