Problem in xpath when having namespaces


(Navneet Mathpal) #1

Hi ,

I am facing some problem when trying to extract the information , without namespaces its working fine ,
But when using the actual namespces it is not able to extract the information ..
I have copied the xml example from here

xpath =>[
"/Book/Book/BookDetails/ID/text()","ID",

                            "/Book/Book/BookDetails/Name/text()","Name"
                            ]

This xpath is not working for me , can anyone help me with how to build a xpath with namespaces


(Navneet Mathpal) #2

got the solution...done some changes on xpath, but still wondering why remove_namespaces => true , is not working ?


(system) #3