You are here:  » repeating element xpath


repeating element xpath

Submitted by johnrand on Thu, 2010-02-18 15:06 in

Hi,

Magic Parser has been working GREAT, but on a new page, I just got the following:

Notice: Undefined variable: repeating_element_xpath in /home/cs/www/jobsearchpage.adlexx.com/jobsearchpage2/siteadmin/MagicParser.php on line 2

autodetect failed

Any clue as to what this indicates?

Thanks.

John

Submitted by support on Thu, 2010-02-18 15:16

Hi John,

It sounds like the XML source is not valid (I presume that you are not using a Format String in your call to MagicParser_parse) - could you perhaps email me a link to the XML feed that you are trying to use; and if possible your script as an attachment and I'll check it out for you...

Cheers,
David.

Submitted by johnrand on Thu, 2010-02-18 15:45

Hi David,

You were right - the XML source was not right.

Fixed it myself!

Thanks for your help.

John