Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML hexBinary to byte[]
Message
General information
Forum:
ASP.NET
Category:
XML
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01165151
Message ID:
01166282
Views:
22
This message has been marked as the solution to the initial question of the thread.
public static void Main(string[] args)
 {
   Assignments myDataSet = new Assignments();
   myDataSet.ReadXml("c:\\temp\\tester\\test.xml",XmlReadMode.Auto);
   SoapBase64Binary sb = new SoapBase64Binary(myDataSet.Assignment[0].Payload);
   Console.WriteLine("The object in XSD format is {0}.",sb.ToString());
   Console.WriteLine();
   Console.WriteLine("The conclusion is: your XSD is incorrect...?");
   Console.WriteLine("Or possibly a different XmlReadMode would work...?");

 }
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform