Commits

Anonymous committed 8999319

Made Namespaces behave more like attributes

  • Participants
  • Parent commits 879c3e1

Comments (0)

Files changed (1)

 char *
 prefix (self)
         xmlNsPtr self
+    ALIAS:
+        XML::LibXML::Namespace::getLocalName = 1
+        XML::LibXML::Namespace::localName = 2
     CODE:
         RETVAL = (char*)self->prefix;
     OUTPUT:
     OUTPUT:
         RETVAL
 
+char *
+getNamespaceURI (self)
+        xmlNsPtr self
+    CODE:
+        RETVAL = "http://www.w3.org/2000/xmlns/";
+    OUTPUT:
+        RETVAL
+
+char *
+getPrefix (self)
+        xmlNsPtr self
+    CODE:
+        RETVAL = "xmlns";
+    OUTPUT:
+        RETVAL
+