Editing someone elses C# issue with an XML. Uncertain how to properly format XML for folder...

  • Thread starter Thread starter svMSDN
  • Start date Start date
S

svMSDN

Guest
I wasnt sure the proper forum for this question, I understand if it need moved elsewhere.

I believe the issue is we are having is related to the handling of the XML file in the C# project we have. The developer of this C# project / program is no longer with us and we mostly work in VB.net and not really with XML documents.

The developer created an XML document for the folder structure as follows (see below). The folder path actual starts at the 4th node under "<Business>" (e.g. Bankruptcy, Claims... etc.). So they have this portion right. However, when it comes to a folder on the 4th node with subfolders (e.g. Financial Services\Bankruptcy), the output returns as "Financial ServicesBankruptcy" without a backslash (\) between "Services" and "Bankruptcy".

While stepping through I cannot identify any concatenation, and I dont believe the developer we expecting to. So I dont know if there is a way I can just include the backslash (\) within the xml parent folder (i.e. Financial Services) or subfolder (e.g. Bankruptcy)?

I havent really worked with xml files at all, before I have to dig too deep, I wanted to save time if someone had a suggestion or thought on the resolution? I will probably figure it out eventually if not, but any assistance would be welcome.

<?xml version="1.0" encoding="utf-8" ?>
<Config>
<BusinessFunction>
<Business>
<Bankruptcy />
<Claims />
<Collections />
<Compliance />
<Credit Ops="" />
<Cross Functional=""/>
<CSG />
<Financial Services="">
<Bankruptcy />
<DRA />
<Other />
<Payoffs />
<Reversals />
</Financial>
<Foreclosure />
<Funds Management="" />
</Business>
</BusinessFunction>
</Config>





SV

Continue reading...
 
Back
Top