C
Cambridge Ray
(newbie alert)
I found two (DOM) tutorial-type programs to retrieve values and I am
trying to decide which one I will build upon.
(For this explanation, I will use the filesystem analogy.)
One of them is simpler, being based on XPath:
cat /some/dir/inside/another/item.txt
The other program goes like this:
cd some
cd dir
cd inside
cd another
cat item.txt
(the above are actually nested loops)
I now realize that the two approaches would be even more useful, if
combined into a hybrid approach:
cd /some/dir/inside/another
dir
cat item.txt
cat other.txt
Is there such express way to jump directly to the desired depth where
your target item resides?
TIA,
-RFH
I found two (DOM) tutorial-type programs to retrieve values and I am
trying to decide which one I will build upon.
(For this explanation, I will use the filesystem analogy.)
One of them is simpler, being based on XPath:
cat /some/dir/inside/another/item.txt
The other program goes like this:
cd some
cd dir
cd inside
cd another
cat item.txt
(the above are actually nested loops)
I now realize that the two approaches would be even more useful, if
combined into a hybrid approach:
cd /some/dir/inside/another
dir
cat item.txt
cat other.txt
Is there such express way to jump directly to the desired depth where
your target item resides?
TIA,
-RFH