Does anyone knows, how to represent a complex electric circuit with loops, flows in XML format?
The efficient way to parse it?
Efficient data structure to store parsing data, from which we can again create XML?
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are standard XML parsers (e.g. DOM for in-memory and SAX for event-based processing) that you should be using.
You can represent a circuit in XML pretty easily – it’s nothing more than nodes and connectors of different types. Write a schema that represents them.
I’m picturing something simple, like this one for a serial RC circuit: