This is example of xml file:
Code:
<E1> vrednost='20 ' A='R2A,R3A' B='R1A' </E1> <R1> vrednost='100 ' A='E1B' B='R2B,R3B' </R1> <R2> vrednost='100 ' A='E1A,R3A' B='R1B,R3B' </R2> <R3> vrednost='100 ' A='E1A,R2A' B='R1B,R2B' </R3>
|
Light Poster
|
|
| 10Jul2008,13:48 | #1 |
|
I can’t solve the problem with the software I’m working on.It’s a programme which based on electric elements user drag-and-drops, gives the solution of a circuit – all currents in it.All begins in xml file for which I need parser.Parser is almost done, except - how to recognize type of link beetwen elements.So, I have a complex electric circuit, described in xml file, and for getting equations to solve in matlab, parser has to specify what is and in what manner linked.
This is example of xml file: Code:
<E1> vrednost='20 ' A='R2A,R3A' B='R1A' </E1> <R1> vrednost='100 ' A='E1B' B='R2B,R3B' </R1> <R2> vrednost='100 ' A='E1A,R3A' B='R1B,R3B' </R2> <R3> vrednost='100 ' A='E1A,R2A' B='R1B,R2B' </R3> |
|
Go4Expert Founder
|
![]() |
| 10Jul2008,17:25 | #2 |
|
Thread started in the wrong forum
|
|
Light Poster
|
|
| 10Jul2008,18:18 | #3 |
|
hm..I thought this was the most common
|