Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Searching against child node in XML

Searching against child node in XML

Scheduled Pinned Locked Moved XML / XSL
helpalgorithmsxmlquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kmpatel
    wrote on last edited by
    #1

    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

    L 1 Reply Last reply
    0
    • K kmpatel

      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

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups