I would suggest you to create an XSD (schema definition), This will validate the XML for correctness. After loading XML, Use the validateSchema method and pass required XSD and check for the correctness. Hope this helps
Regards, Jaiprakash M Bankolli jaiprakash.bankolli@gmail.com http://jaiprakash.blog.com/
"\u000a" and '\u000a' however those are in unicode. To get the ascii value you would need to use an Ascii Encoder and grab the bytes but why bother, just write 0xa to the stream.
File Not Found
public class PortAccess { [DllImport("inpout32.dll", EntryPoint="Out32")] public static extern void Output(int adress, int value); } then, use PortAccess.Output(***,***) to send data to parallel port. wang
Please don't double post. You can delete the old one. You need a third party library to do this, I think there are some examples on this site, just try searching.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog