list - Comparision of Values from XML Files in Python -


My UML diagram is like this:

  rootNode | Book (specialty: name). Table (specialty: name). TableEntry (attribute: field, value)   

When I use this code:

  BookNode.getBooks () book in: print Book. GetName () in the table. Table in Table for table). Table (table.getName) for table table .getTableEntrys (): Print TableEntry.getField (), TableEntry.getValue ()   

Output like this:

  Document T1F1V1F2V2F3V3F4V4F5V5F6V6T2F1V1F2V2F3V 3F4V4F5V5F6V6Document T2F2V2F3V3F4V4F5V5F6V6   

I have a field and value Exchange and Value V1 in the document (first), for each field and value In Tavejh (II) would like to compare F1 V1. For both of my files is the name of the same book, which is a document. I also want to meet in both missing fields or additional fields, such as my F1 and V1 are unavailable in T2.

  and   

if you If you want to compare with institutions, use it 'is'

/ P>

for example = & gt;

a = 123; B = 123;

A

Output:

true

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -