Changeset 21023 for lang/cplusplus/llv8call/trunk/ext/libxml/element.cc
- Timestamp:
- 10/09/08 08:48:31 (3 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/cplusplus/llv8call/trunk/ext/libxml/element.cc
r21008 r21023 47 47 xmlFree(ret); 48 48 return s; 49 } else { 50 return Undefined(); 51 } 52 END 53 54 FUNCTION(getAttributeNode) 55 ARG_COUNT(1); 56 ARG_str(name, 0); 57 EXTERNAL_NODE(); 58 EXTERNAL_DOC(); 59 xmlAttrPtr attr = domGetAttrNode(node, (const xmlChar*)*name); 60 if (attr) { 61 return CREATE_ATTR(doc, attr); 49 62 } else { 50 63 return Undefined(); … … 108 121 BIND_IM("appendTextNode", appendText); // alias 109 122 BIND_IM("getAttribute", getAttribute); 123 BIND_IM("getAttributeNode", getAttributeNode); 110 124 BIND_IM("hasAttribute", hasAttribute); 111 125 BIND_IM("removeAttribute", removeAttribute);
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)