I have multiple paths stored in an array in c#. I want to be able to create an xml document using these x-paths but I'm not quite sure how to do it. Here are some examples of the x-paths..
/B/Name/FirstName
/B/Name/LastName
/B/Name/MiddleName
/B/Job/Title
So the xml would look like this
<B>
<Name>
<FirstName>
</FirstName>
<LastName>
</LastName>
<MiddleName>
</MiddleName>
</Name>
<Job>
<Title>
</Title>
</Job>
</B>
Thanks for your help!
string[] paths;?