예제 #1
0
 def fixedOrDefaultAttrValue(self, attrName):
     attr = XmlUtil.schemaDescendant(self, XbrlConst.xsd, "attribute", attrName)
     if attr is not None:
         if attr.get("fixed"):
             return attr.get("fixed")
         elif attr.get("default"):
             return attr.get("default")
     return None
예제 #2
0
 def fixedOrDefaultAttrValue(self, attrName):
     attr = XmlUtil.schemaDescendant(self, XbrlConst.xsd, "attribute",
                                     attrName)
     if attr is not None:
         if attr.get("fixed"):
             return attr.get("fixed")
         elif attr.get("default"):
             return attr.get("default")
     return None