Re: libxml2 and XPath - Iterate through repeating elements?

2005-12-05 Thread Jean-Roch SOTTY
Le Vendredi 2 Décembre 2005 18:31, [EMAIL PROTECTED] a écrit : I'm trying to iterate through repeating elements to extract data using libxml2 but I'm having zero luck - any help would be appreciated. My XML source is similar to the following - I'm trying to extract the line number and product

libxml2 and XPath - Iterate through repeating elements?

2005-12-02 Thread nickheppleston
I'm trying to iterate through repeating elements to extract data using libxml2 but I'm having zero luck - any help would be appreciated. My XML source is similar to the following - I'm trying to extract the line number and product code from the repeating line elements: order xmlns=some-ns

Re: libxml2 and XPath - Iterate through repeating elements?

2005-12-02 Thread Paul Boddie
[EMAIL PROTECTED] wrote: I'm trying to iterate through repeating elements to extract data using libxml2 but I'm having zero luck - any help would be appreciated. Here's how I attempt to solve the problem using libxml2dom [1] (and I imagine others will suggest their own favourite modules, too):