コード例 #1
0
ファイル: libxslt.py プロジェクト: fxia22/ASM_xf
 def attrListTemplateProcess(self, target, cur):
     """Do a copy of an attribute list with attribute template
        processing"""
     if target == None: target__o = None
     else: target__o = target._o
     if cur == None: cur__o = None
     else: cur__o = cur._o
     ret = libxsltmod.xsltAttrListTemplateProcess(self._o, target__o, cur__o)
     if ret == None: return None
     return libxml2.xmlAttr(_obj=ret)
コード例 #2
0
 def attrListTemplateProcess(self, target, cur):
     """Do a copy of an attribute list with attribute template
        processing"""
     if target == None: target__o = None
     else: target__o = target._o
     if cur == None: cur__o = None
     else: cur__o = cur._o
     ret = libxsltmod.xsltAttrListTemplateProcess(self._o, target__o,
                                                  cur__o)
     if ret == None: return None
     return libxml2.xmlAttr(_obj=ret)
コード例 #3
0
ファイル: libxslt.py プロジェクト: gastonfeng/GreenOdoo
 def attrListTemplateProcess(self, target, attrs):
     """Processes all attributes of a Literal Result Element.
       Attribute references are applied via xsl:use-attribute-set
       attributes. Copies all non XSLT-attributes over to the
       @target element and evaluates Attribute Value Templates. 
        Called by xsltApplySequenceConstructor() (transform.c)."""
     if target == None: target__o = None
     else: target__o = target._o
     if attrs == None: attrs__o = None
     else: attrs__o = attrs._o
     ret = libxsltmod.xsltAttrListTemplateProcess(self._o, target__o, attrs__o)
     if ret == None: return None
     return libxml2.xmlAttr(_obj=ret)
コード例 #4
0
ファイル: libxslt.py プロジェクト: flosnaphq/MAMP
 def attrListTemplateProcess(self, target, attrs):
     """Processes all attributes of a Literal Result Element.
       Attribute references are applied via xsl:use-attribute-set
       attributes. Copies all non XSLT-attributes over to the
       @target element and evaluates Attribute Value Templates. 
        Called by xsltApplySequenceConstructor() (transform.c)."""
     if target == None: target__o = None
     else: target__o = target._o
     if attrs == None: attrs__o = None
     else: attrs__o = attrs._o
     ret = libxsltmod.xsltAttrListTemplateProcess(self._o, target__o,
                                                  attrs__o)
     if ret == None: return None
     return libxml2.xmlAttr(_obj=ret)