MINIDOM_MAJOR_VERSION=0
MINIDOM_MINOR_VERSION=1
-MINIDOM_MICRO_VERSION=2
+MINIDOM_MICRO_VERSION=3
MINIDOM_VERSION=$MINIDOM_MAJOR_VERSION.$MINIDOM_MINOR_VERSION.$MINIDOM_MICRO_VERSION
MINIDOM_VERSION_INFO=`expr $MINIDOM_MAJOR_VERSION + $MINIDOM_MINOR_VERSION`:$MINIDOM_MICRO_VERSION:$MINIDOM_MINOR_VERSION
#endif /* HAVE_LIBXML2 */
}
+gboolean
+mdom_node_has_attribute_ns(mDOMNodeRef node, mDOMConstStringRef name, mDOMConstStringRef uri)
+{
+ g_return_val_if_fail(node != NULL, FALSE);
+ g_return_val_if_fail(name != NULL, FALSE);
+ g_return_val_if_fail(uri != NULL, FALSE);
+#ifdef HAVE_LIBXML2
+ return (xmlHasNsProp(node, name, uri) != NULL) ? TRUE : FALSE;
+#else
+ return FALSE;
+#endif /* HAVE_LIBXML2 */
+}
+
mDOMStringRef
mdom_node_get_content(mDOMNodeRef node)
{
mDOMStringRef mdom_node_get_attribute(mDOMNodeRef, mDOMConstStringRef);
mDOMStringRef mdom_node_get_attribute_ns(mDOMNodeRef, mDOMConstStringRef, mDOMConstStringRef);
gboolean mdom_node_has_attribute(mDOMNodeRef, mDOMConstStringRef);
+ gboolean mdom_node_has_attribute_ns(mDOMNodeRef, mDOMConstStringRef, mDOMConstStringRef);
mDOMStringRef mdom_node_get_content(mDOMNodeRef);
mDOMNodeRef mdom_node_get_parent(mDOMNodeRef);
mDOMNodeRef mdom_node_get_prev_sibling(mDOMNodeRef);