33 #if APR_CHARSET_EBCDIC
133 #define APR_XML_NS_DAV_ID 0
134 #define APR_XML_NS_NONE -10
136 #define APR_XML_NS_ERROR_BASE -100
138 #define APR_XML_NS_IS_ERROR(e) ((e) <= APR_XML_NS_ERROR_BASE)
196 #define APR_XML_ELEM_IS_EMPTY(e) ((e)->first_child == NULL && \
197 (e)->first_cdata.first == NULL)
288 int *ns_map,
const char **
pbuf,
292 #define APR_XML_X2T_FULL 0
293 #define APR_XML_X2T_INNER 1
294 #define APR_XML_X2T_LANG_INNER 2
295 #define APR_XML_X2T_FULL_NS_LANG 3
296 #define APR_XML_X2T_PARSED 4
339 #define APR_XML_GET_URI_ITEM(ary, i) (((const char * const *)(ary)->elts)[i])
341 #if APR_CHARSET_EBCDIC
APR I18N translation library.
const char * apr_xml_quote_string(apr_pool_t *p, const char *s, int quotes)
int apr_xml_insert_uri(apr_array_header_t *uri_array, const char *uri)
apr_xml_parser * apr_xml_parser_create(apr_pool_t *pool)
void apr_xml_to_text(apr_pool_t *p, const apr_xml_elem *elem, int style, apr_array_header_t *namespaces, int *ns_map, const char **pbuf, apr_size_t *psize)
apr_status_t apr_xml_parser_done(apr_xml_parser *parser, apr_xml_doc **pdoc)
void apr_xml_quote_elem(apr_pool_t *p, apr_xml_elem *elem)
apr_status_t apr_xml_parser_feed(apr_xml_parser *parser, const char *data, apr_size_t len)
const char * apr_xml_empty_elem(apr_pool_t *p, const apr_xml_elem *elem)
apr_status_t apr_xml_parse_file(apr_pool_t *p, apr_xml_parser **parser, apr_xml_doc **ppdoc, apr_file_t *xmlfd, apr_size_t buffer_length)
char * apr_xml_parser_geterror(apr_xml_parser *parser, char *errbuf, apr_size_t errbufsize)
void apr_text_append(apr_pool_t *p, apr_text_header *hdr, const char *text)
struct apr_xlate_t apr_xlate_t
Definition: apr_xlate.h:39
request_rec int apr_array_header_t * namespaces
Definition: mod_dav.h:566
const char * s
Definition: mod_dav.h:1327
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
dav_buffer * pbuf
Definition: mod_dav.h:460
const char const char * uri
Definition: mod_dav.h:631
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
#define APR_DECLARE(x)
Definition: macros.h:6
Definition: apr_arch_file_io.h:107
const char * text
Definition: apr_xml.h:55
struct apr_text * next
Definition: apr_xml.h:57
Definition: apr_xml.h:148
const char * value
Definition: apr_xml.h:155
const char * name
Definition: apr_xml.h:150
struct apr_xml_attr * next
Definition: apr_xml.h:158
int ns
Definition: apr_xml.h:152
Definition: apr_xml.h:200
apr_array_header_t * namespaces
Definition: apr_xml.h:204
apr_xml_elem * root
Definition: apr_xml.h:202
Definition: apr_xml.h:162
void * priv
Definition: apr_xml.h:192
struct apr_xml_elem * parent
Definition: apr_xml.h:176
const char * name
Definition: apr_xml.h:164
int ns
Definition: apr_xml.h:166
struct apr_xml_elem * first_child
Definition: apr_xml.h:180
apr_text_header first_cdata
Definition: apr_xml.h:171
struct apr_xml_elem * next
Definition: apr_xml.h:178
apr_text_header following_cdata
Definition: apr_xml.h:173
const char * lang
Definition: apr_xml.h:168
struct apr_xml_attr * attr
Definition: apr_xml.h:182
struct apr_xml_elem * last_child
Definition: apr_xml.h:186
struct apr_xml_ns_scope * ns_scope
Definition: apr_xml.h:188
Definition: apr_xml_internal.h:32