| Top |
| raptor_namespace * | raptor_new_namespace_from_uri () |
| raptor_namespace_stack * | raptor_new_namespaces () |
| int | raptor_namespaces_init () |
| void | raptor_namespaces_clear () |
| void | raptor_free_namespaces () |
| void | raptor_namespaces_start_namespace () |
| int | raptor_namespaces_start_namespace_full () |
| void | raptor_namespaces_end_for_depth () |
| raptor_namespace * | raptor_namespaces_get_default_namespace () |
| raptor_namespace * | raptor_namespaces_find_namespace () |
| raptor_namespace * | raptor_namespaces_find_namespace_by_uri () |
| int | raptor_namespaces_namespace_in_scope () |
| raptor_namespace * | raptor_new_namespace () |
| void | raptor_free_namespace () |
| raptor_uri * | raptor_namespace_get_uri () |
| const unsigned char * | raptor_namespace_get_prefix () |
| const unsigned char * | raptor_namespace_get_counted_prefix () |
| int | raptor_namespace_write () |
| int | raptor_namespace_stack_start_namespace () |
| unsigned char * | raptor_namespace_format_as_xml () |
| int | raptor_xml_namespace_string_parse () |
Two classes that provide an XML namespace - short prefix (or none) and
absolute URI (or none) to match the form xmlns...="..."
seen in XML. A stack of namespaces raptor_namespace_stack is also
provided to handle in-scope namespace calculations that happen inside
XML documents where inner namespaces can override outer ones.
raptor_namespace * raptor_new_namespace_from_uri (raptor_namespace_stack *nstack,const unsigned char *prefix,raptor_uri *ns_uri,int depth);
raptor_namespace_stack * raptor_new_namespaces (raptor_world *world,int defaults);
int raptor_namespaces_init (raptor_world *world,raptor_namespace_stack *nstack,int defaults);
void raptor_namespaces_start_namespace (raptor_namespace_stack *nstack,raptor_namespace *nspace);
int raptor_namespaces_start_namespace_full (raptor_namespace_stack *nstack,const unsigned char *prefix,const unsigned char *ns_uri_string,int depth);
void raptor_namespaces_end_for_depth (raptor_namespace_stack *nstack,int depth);
raptor_namespace *
raptor_namespaces_get_default_namespace
(raptor_namespace_stack *nstack);
raptor_namespace * raptor_namespaces_find_namespace (raptor_namespace_stack *nstack,const unsigned char *prefix,int prefix_length);
raptor_namespace * raptor_namespaces_find_namespace_by_uri (raptor_namespace_stack *nstack,raptor_uri *ns_uri);
int raptor_namespaces_namespace_in_scope (raptor_namespace_stack *nstack,const raptor_namespace *nspace);
raptor_namespace * raptor_new_namespace (raptor_namespace_stack *nstack,const unsigned char *prefix,const unsigned char *ns_uri_string,int depth);
const unsigned char *
raptor_namespace_get_prefix (const raptor_namespace *ns);
const unsigned char * raptor_namespace_get_counted_prefix (const raptor_namespace *ns,size_t *length_p);
int raptor_namespace_write (raptor_namespace *ns,raptor_iostream *iostr);
int raptor_namespace_stack_start_namespace (raptor_namespace_stack *nstack,raptor_namespace *ns,int new_depth);
unsigned char * raptor_namespace_format_as_xml (const raptor_namespace *ns,size_t *length_p);