I have this much:
XDocument doc = XDocument.Load(existFile);
if (doc.FirstNode is XProcessingInstruction)
XProcessingInstruction PI = (XProcessingInstruction)doc.FirstNode;
And, ?PI.Data yields:
"format=\"850\" sender=\"AMAZON\" receiver=\"MYCLIENT\" ctrl=\"1\""
How do I read each of the individual attributes (format,sender,receiver,ctrl)? Is there a method on PI.Data that will do this? I haven't found one yet.