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. How can I go through all child nodes and attributes of child nodes of a parent node..

How can I go through all child nodes and attributes of child nodes of a parent node..

Scheduled Pinned Locked Moved XML / XSL
helphtmlxmlquestion
1 Posts 1 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.
  • V Offline
    V Offline
    Vishnu Narayan Mishra
    wrote on last edited by
    #1

    Hello sir There is a little problem of xml again. How can I go through all child nodes and attributes of child nodes of a parent node.. Suppose i have to go through all child nodes e.g. of parent nodes e.g.. There can be mutiple in a parent node . I have to check values of and of all child nodes and if it matches with the supplied valus it gives a message 'LinkUrl/LinkText already exist' else insert new of and set all attributes of , which was supplied by the user. My code check only first child of if it values matches for and give a proper message else insert new . So how can I check all child for values and of This is a sample struture of my XML file ---------------------------------------------------------------- 0 1.0.1 2007-11-13T12:48:29.9687500+05:30 SUBHASH\vishnu C:\Documents and Settings\Login Subhash\Desktop\iframe.html HTML Help File 3 2007-11-13T13:04:40.2656250+05:30 SUBHASH\vishnu C:\Documents and Settings\Login Subhash\Desktop\main.html Adding new Help Link 3 2007-11-13T13:04:24.8437500+05:30 SUBHASH\vishnu C:\Documents and Settings\Login Subhash\Desktop\iframeCopy.html New Link Help 3 .....

    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