Searching against child node in XML
-
Hi I am trying to search for every element that may contain content such as 'Vignesh'. but there are some potential problems with it. It only searches the first child of named and never goes to the second child . IF i search for 'Diaz' or 'Krish', It returns record but for 'Vignesh' and 'Tomy', it does not return record. Is there any logic to search for second child node?Please give me some idea. Any help with this will be greatly appreciated. I faced formating problem to post xml file so it looks like this hope you dont mind. document file author Diaz John author author Vignesh Mehta author /file file author Krish P author author Tomy M. author /file /document Thanks KP
-
Hi I am trying to search for every element that may contain content such as 'Vignesh'. but there are some potential problems with it. It only searches the first child of named and never goes to the second child . IF i search for 'Diaz' or 'Krish', It returns record but for 'Vignesh' and 'Tomy', it does not return record. Is there any logic to search for second child node?Please give me some idea. Any help with this will be greatly appreciated. I faced formating problem to post xml file so it looks like this hope you dont mind. document file author Diaz John author author Vignesh Mehta author /file file author Krish P author author Tomy M. author /file /document Thanks KP
kmpatel wrote:
It only searches
It? Sorry but that doesn't tell us anything useful.
kmpatel wrote:
I faced formating problem to post xml file so it looks like this hope you dont mind.
On the screen where you post there is a
checkbox
"Ignore HTML tags in this message (good for code snippets)"led mike