Exemple #1
0
 def cNsProp(self, node, name, nameSpace):
     """Similar to xmlGetNsProp() but with a slightly different
       semantic  Search and get the value of an attribute
       associated to a node This attribute has to be anchored in
       the namespace specified, or has no namespace and the
       element is in that namespace.  This does the entity
       substitution. This function looks in DTD attribute
       declaration for #FIXED or default declaration values unless
        DTD use has been turned off."""
     if node == None: node__o = None
     else: node__o = node._o
     ret = libxsltmod.xsltGetCNsProp(self._o, node__o, name, nameSpace)
     return ret
Exemple #2
0
 def cNsProp(self, node, name, nameSpace):
     """Similar to xmlGetNsProp() but with a slightly different
        semantic  Search and get the value of an attribute
        associated to a node This attribute has to be anchored in
        the namespace specified, or has no namespace and the
        element is in that namespace.  This does the entity
        substitution. This function looks in DTD attribute
        declaration for #FIXED or default declaration values
        unless DTD use has been turned off."""
     if node == None: node__o = None
     else: node__o = node._o
     ret = libxsltmod.xsltGetCNsProp(self._o, node__o, name, nameSpace)
     return ret