libdom
Loading...
Searching...
No Matches
namespace.h
Go to the documentation of this file.
1/*
2 * This file is part of libdom.
3 * Licensed under the MIT License,
4 * http://www.opensource.org/licenses/mit-license.php
5 * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
6 */
7
8#ifndef dom_utils_namespace_h_
9#define dom_utils_namespace_h_
10
11#include <dom/functypes.h>
12#include <dom/core/exceptions.h>
13#include <dom/core/string.h>
14
15struct dom_document;
16
17/* Ensure a QName is valid */
19 dom_string *namespace);
20
21/* Split a QName into a namespace prefix and localname string */
23 dom_string **prefix, dom_string **localname);
24
25/* Get the XML prefix dom_string */
27
28/* Get the XMLNS prefix dom_string */
30
31#endif
32
dom_exception
Definition exceptions.h:24
dom_exception _dom_namespace_split_qname(dom_string *qname, dom_string **prefix, dom_string **localname)
Definition namespace.c:249
dom_exception _dom_namespace_validate_qname(dom_string *qname, dom_string *namespace)
Definition namespace.c:129
dom_string * _dom_namespace_get_xml_prefix(void)
Definition namespace.c:297
dom_string * _dom_namespace_get_xmlns_prefix(void)
Definition namespace.c:317
Definition document.h:43
Definition string.h:19