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. Saving a tree structure from a treeview and restoring the structure

Saving a tree structure from a treeview and restoring the structure

Scheduled Pinned Locked Moved XML / XSL
xmldatabasedata-structureshelpannouncement
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.
  • J Offline
    J Offline
    jr23693
    wrote on last edited by
    #1

    I have an application that displays a treeview with the following structure: + TreeRoot +-+ Heading | +-+ DataElement | +-+ DataElement | +-+ Heading | +-+ DataElement | +-+ DataElement +-+ Heading | +-+ DataElement . . . Note the data order is important and must be preserved. I have stored this in a XML file like this. First data<\ DataElement> Second data<\ DateElement> First nested data<\ DataElement> Second nested data<\ DataElement> <\ heading> <\heading> data<\DataElement> <\heading> . . . <\root> I am able to read and writhe this data to and from the tree and update the xml file. However I am not able to describe this structure in a Schema. Is there a method that would be univerally portable to keep this structure. I would prefer not to use H1, H2, H3 . . . method for the nested headers. Thanks for the help.

    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