You could try Obyx ( httpd://www.obyx.org ), which does a lot of that stuff 
using your own scripts, so you don't need to write loads of code.
Regardless, once you have tasted the fruit of XPath 2  ( Look at XQIlla for the 
XPath 2 implementation over Xercesc) you will never go anywhere else.

Just my 2¢ (and a shameless plug!)

        B.


On 27 Jul 2011, at 16:19, Ramon F Herrera wrote:

> 
> (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 are 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
> 
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to