#include <stdio.h>
#include <stdlib.h>
#include "dtd.h"
#include "parser.h"
Functions | |
static xmlns * | xmlns_push (dtd_parser *p, const ichar *ns, const ochar *url) |
void | xmlns_free (sgml_environment *env) |
xmlns * | xmlns_find (sgml_environment *env, dtd_symbol *ns) |
static ichar * | isxmlns (const ichar *s, int nschr) |
void | update_xmlns (dtd_parser *p, dtd_element *e, int natts, sgml_attribute *atts) |
int | xmlns_resolve_attribute (dtd_parser *p, dtd_symbol *id, const ichar **local, const ichar **url) |
int | xmlns_resolve_element (dtd_parser *p, const ichar **local, const ichar **url) |
|
Function to determine if the string is 'xmlns' Input : string, namespace character Output : Remaining string |
|
Internal function to aid in xml ns processing |
|
Find the namespace for a given symbol Input : pointer to eonvironment object, given symbol Output : namespace |
|
Free the xml environment object Input : pointer to environment object Output : none |
|
Pushes the xml namespace Input : pointer to parser object, namespace declaration, url Output : pointer to created namespace object |
|
It exploits the stack of namespace-environments managed by the parser itself (see update_xmlns())
|
|
|