10#ifndef PCMK__CRM_COMMON_XML_COMPAT__H
11# define PCMK__CRM_COMMON_XML_COMPAT__H
14#include <libxml/tree.h>
31#define XML_PARANOIA_CHECKS 0
40gboolean
apply_xml_diff(xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml);
46static inline const char *
47crm_xml_add_boolean(xmlNode *node,
const char *
name, gboolean value)
const char * crm_xml_add(xmlNode *node, const char *name, const char *value)
Create an XML attribute with specified name and value.
Wrappers for and extensions to libxml2.
char * xml_get_path(const xmlNode *xml)
Get an XPath string that matches an XML element as closely as possible.
gboolean apply_xml_diff(xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml)
void crm_destroy_xml(gpointer data)
xmlNode * find_entity(xmlNode *parent, const char *node_name, const char *id)