Our project involves communicating between controller/application processes over sockets by passing messages written in XML. We're planning on using Xerces-C++ for this.
Using some sample code, I've got a test application successfully running that: - parses an xml file into a DOMDocument (using DOMLSParser) - writes the document out to cout (using DOMLSSerializer) I have several questions ... 1. I picked DOMLSParser from the alphabetized class list rather than XercesDOMParser without understanding what makes them different. What's the difference? 2. to implement the project, the controller process must determine sender/receiver of the message to pass it on. These will be nodes within the message. The application process must further decode the message in order to execute commands. What is the best way to pull specific nodes/contents from a parsed XML document? Do I need to add that I have not much C++ experience and my Xerces-C++ exposure is a whole 2 days? Thanks!! jeffrey berger [email protected]
