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. C#
  4. Reading xml that contains reference to xml’s

Reading xml that contains reference to xml’s

Scheduled Pinned Locked Moved C#
csharpxmlhelpquestion
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.
  • R Offline
    R Offline
    Ronenb
    wrote on last edited by
    #1

    Hi I would like to read the content of XML in c# I’ve main XML that contain several include to additional xml I’m trying to read nodes from main XML but I always got zero, In case I’m copy the sub XML content to main XML it work I know I can do include in XML another XML and it should be the same as writing the text in the same XML What could be the problem? See code below Main XML 4 SUB XML RX RX test on 2.5Ghz 250475000 C# code private XmlDocument m_xDoc; private XmlElement m_Root; m_xDoc = new XmlDocument(); m_xDoc.Load(m_mainXMLTest); m_Root = m_xDoc.DocumentElement; m_nodeItems = m_Root.GetElementsByTagName("test"); the problem is m_nodeItems.count = 0 Please advice Ronen

    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