RE: Navigation Problem -- Tree climbing

Subject: RE: Navigation Problem -- Tree climbing
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Thu, 11 Sep 1997 12:36:47 +0100
-Vu Nguyen    wrote
I have a navigation problem like this:
  <PARENT>
    <CHILD_1>
      <CHILD_1a>
           <TITLE>Title here</TITLE>
      </CHILD_1a>
    </CHILD_1>
    <CHILD_2>Text</CHILD_2>
    <CHILD_3>...</CHILD_3>
    <CHILD_4>...</CHILD_4>
  </PARENT>
  Say I need to print out the content of the title after I print the
content of element CHILD_2 (which is Text). Is it possible to navigate
back up to parent node then navigate down to get the content???

=====================
Generalising this since so many list questions centre on 
navigation around a doc tree;
Given a location, How can I (get to| get the contents of | attributes
of)
my parent, child, grand-parent ....

Has anyone done / is anyone prepared to do
a tree climbing examples which could be added to the handbook,
referred to  / added to the FAQ.

Small, well documented examples of the kind asked for so
regularly?

Heres hoping.
TIA DaveP





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


Current Thread