def __str__(self): retString = "<{0}>".format(self.name) if (self.scalar != None): retString += "Has scalar tag <{0}>".format(self.path) + "\n" if (self.array != None): retString += "Has array tag <{0}>".format(self.path) + "\n" return retString + plcElementXML.__repr__(self)
def __str__(self): retString = "<{0}>".format(self.name) if self.scalar != None: retString += "Has scalar tag <{0}>".format(self.path) + "\n" if self.array != None: retString += "Has array tag <{0}>".format(self.path) + "\n" return retString + plcElementXML.__repr__(self)
def __str__(self): retString = "<{0}> ".format(self.name) if (self.scalar != None): retString += "Has scalar tag <{0}> of type {1}".format( self.path, self.scalar.type) + "\n" return retString + plcElementXML.__repr__(self)
def __str__(self): retString = "<{0}> ".format(self.name) if self.scalar != None: retString += "Has scalar tag <{0}> of type {1}".format(self.path, self.scalar.type) + "\n" return retString + plcElementXML.__repr__(self)