Пример #1
0
def testGetId():
    XPaths = [('dependencies',[('dependency',[('artifactId',None),('groupId',None)])])]
    
    newP2 = Pom()
    pomDoc = minidom.parse('pom.xml')
    id = newP2.getId(pomDoc.firstChild, XPaths)
    
    print id