diff options
author | Graham Leggett <minfrin@apache.org> | 2016-06-12 00:02:22 +0000 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2016-06-12 00:02:22 +0000 |
commit | afb05ba52d4c344e41a43c54161943e36a84f37d (patch) | |
tree | 76c1c4a686d577de873916141230da100e5ec653 /include/apr_xml.h | |
parent | 63225f69079607e4b3438c491629435d9256e07b (diff) | |
download | apr-afb05ba52d4c344e41a43c54161943e36a84f37d.tar.gz |
apr_xml_to_text: Add style APR_XML_X2T_PARSED to maintain a consistent namespace prefix.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1747941 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_xml.h')
-rw-r--r-- | include/apr_xml.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/apr_xml.h b/include/apr_xml.h index ffd671628..bd0b1000c 100644 --- a/include/apr_xml.h +++ b/include/apr_xml.h @@ -276,6 +276,7 @@ APR_DECLARE(char *) apr_xml_parser_geterror(apr_xml_parser *parser, * APR_XML_X2T_INNER contents only * APR_XML_X2T_LANG_INNER xml:lang + inner contents * APR_XML_X2T_FULL_NS_LANG FULL + ns defns + xml:lang + * APR_XML_X2T_PARSED original prefixes * </PRE> * @param namespaces The namespace of the current XML element * @param ns_map Namespace mapping @@ -292,6 +293,7 @@ APR_DECLARE(void) apr_xml_to_text(apr_pool_t *p, const apr_xml_elem *elem, #define APR_XML_X2T_INNER 1 /**< contents only */ #define APR_XML_X2T_LANG_INNER 2 /**< xml:lang + inner contents */ #define APR_XML_X2T_FULL_NS_LANG 3 /**< FULL + ns defns + xml:lang */ +#define APR_XML_X2T_PARSED 4 /**< original prefixes */ /** * empty XML element |