Re: [xml] Walking tree without recursion

2010-06-25 Thread Oliver Kindernay
Thanks for this. I've studied some algorhitms and depth-first search looks as it's what I want. 2010/6/25 Stefan Behnel stefan...@behnel.de: Michael Ludwig, 23.06.2010 23:29: Oliver Kindernay schrieb am 23.06.2010 um 18:39 (+0200): I am using libxml2 HTML 4.0 parser to parse HTML and XHTML

[xml] Walking tree without recursion

2010-06-23 Thread Oliver Kindernay
Hello, I am using libxml2 HTML 4.0 parser to parse HTML and XHTML web pages. I want to found specific tags (i.e a), so I have to walk through the tree of parsed document. And I don't want to use recursion like in this example http://xmlsoft.org/examples/tree1.c. Is there some mechanism in libxml