0

What I'm looking for is a simple method of turning a XPath into a CreateElement. (My background is C# but this project is for VB6) As an example from my knowlege, if you create a directory with .NET much deeper than just one below an existing directory it will create all the directories all the way down to the one you asked for.

For example's sake, let's have this as a query: /rootnode/booklets/booklet[@dds="100"]

Ed Bangga
  • 12,879
  • 4
  • 16
  • 30
  • 1
    There is no direct conversion, you'll need to parse it and create nodes as required. You'll need to decide what you do about mutiple `booklets` nodes or whether to create a `booklet` node or edit an existing one. – Deanna Mar 08 '13 at 10:46
  • I've decided writing a parser is too much hassle, but I've managed to deal with nodes in the way I should be dealing with them. – Zero Serenity Mar 12 '13 at 13:40

0 Answers0