I'm trying to best understand how to implement the following XML as an XDocument, but I'm rather new to the XDocument stuff and I'm running into a conceptual problem of how to get around the multi-attribute in an Element with a value nested inside another Element.
The below is a sample of the XML -- any help would be appreciated
<LVNPImport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InterfaceIdentifier>835</InterfaceIdentifier>
<FolderPaths>
<Folder fromDate="" toDate="" contactName="APerson" email="AnEmail">Remittance Advice</Folder>
<Folder>%FACILITY%</Folder>
<Folder>%PAYORID%</Folder>
<Folder>%REMITDATE YYYY%</Folder>
<Folder>%REMITDATE MMMM YYYY%</Folder>
</FolderPaths>
<DocumentType>RA</DocumentType>
<DocumentDescription>%REMITDATE MM-DD-YY%</DocumentDescription>
<TotalFiles>1</TotalFiles>
</LVNPImport>
EDIT
The above is a template -- I'm not reading in, I'm writing out so I need to create the above as an XDoc.
I'm just getting into the XDocument stuff and what I have is pretty much what you can find with most examples on Stack.