* xmlShellSetBase: * @ctxt: the shell context * @arg: the new base * @node: a node * @node2: unused * * Implements the XML shell function "setbase" * change the current XML base of the node * * Returns 0 */
| 2064 | * Returns 0 |
| 2065 | */ |
| 2066 | static int |
| 2067 | xmlShellSetBase(xmlShellCtxtPtr ctxt ATTRIBUTE_UNUSED, |
| 2068 | char *arg ATTRIBUTE_UNUSED, xmlNodePtr node, |
| 2069 | xmlNodePtr node2 ATTRIBUTE_UNUSED) |
| 2070 | { |
| 2071 | xmlNodeSetBase(node, (xmlChar*) arg); |
| 2072 | return (0); |
| 2073 | } |
| 2074 | #endif |
| 2075 | |
| 2076 | #ifdef LIBXML_XPATH_ENABLED |
no test coverage detected