De-Serialization XML corruption

  • Thread starter Thread starter andrewcw
  • Start date Start date
A

andrewcw

When I deserialize my element values - instead of getting
the brackets and dashes, the regExpr 'phrase'from the XML
is gutted and I get back simply AL, MZ, ADJ stuffed into
my object- instead of the values shown. Is there some
setting I need ? Maybe my XSD I used to generate the
class is wacky, or is there some tweaking I need for the
class ??

Thanks !!! andrew


<cdimagesvrpath path="C:\QCMover\DiskImages1\disksets\">[A-
L]</cdimagesvrpath>
<cdimagesvrpath path="C:\QCMover\DiskImages2\disksets\">
[M-Z]</cdimagesvrpath>
<appdatapath path =="C:\QCMover\Data\METATEK1"> [A-D,J]
</appdatapath>
 
Andrew,

Is the XML your being passed Valid, if so you could try using the
System.Data.DataSet.ReadXml() method to load a DataTable with the values
from the XML file/string.
 
Back
Top