G
Guest
Hi
In a certain project I need to send and receive commands and status info t
other processes. Each command would have some parameters (fixed set pe
command), status info would have some fields (also fixed). The commands an
status info are sent over sockets because the other processes could b
located on different servers/platforms. Another requirement is that th
commands and status info have to be parsed and executed as fast as possible
Timing is critical, because the other processes drive robotic parts
I was wondering if it would make any sense to use XML for the commands an
the status info. I know a bit about XML, but I've never used it before.
know that .net has class(es) to process the xml files but I worry abou
performance. The XML commands would probably need some dtd or xsd fo
validation, in order to be used by the xml-parse classes (I don't know). I
looks like it would take a lot longer to parse an xml command usin
xml-parse classes, than it would by just manually parsing a byte command. O
the other hand, i think using xml would make it easier to programme. It wil
take some time before I can actually test this all, so
I would like to hear any opinion on this matter
Thank you
PS: I also posted to microsoft.public.dotnet.xml, but my platform could be embedded XP I don't know yet
In a certain project I need to send and receive commands and status info t
other processes. Each command would have some parameters (fixed set pe
command), status info would have some fields (also fixed). The commands an
status info are sent over sockets because the other processes could b
located on different servers/platforms. Another requirement is that th
commands and status info have to be parsed and executed as fast as possible
Timing is critical, because the other processes drive robotic parts
I was wondering if it would make any sense to use XML for the commands an
the status info. I know a bit about XML, but I've never used it before.
know that .net has class(es) to process the xml files but I worry abou
performance. The XML commands would probably need some dtd or xsd fo
validation, in order to be used by the xml-parse classes (I don't know). I
looks like it would take a lot longer to parse an xml command usin
xml-parse classes, than it would by just manually parsing a byte command. O
the other hand, i think using xml would make it easier to programme. It wil
take some time before I can actually test this all, so
I would like to hear any opinion on this matter
Thank you
PS: I also posted to microsoft.public.dotnet.xml, but my platform could be embedded XP I don't know yet