NCBI C++ ToolKit
|
This file contains the implementation of the xml::document class. More...
#include <misc/xmlwrapp/document.hpp>
#include <misc/xmlwrapp/node.hpp>
#include <misc/xmlwrapp/dtd.hpp>
#include <misc/xmlwrapp/schema.hpp>
#include <misc/xmlwrapp/exception.hpp>
#include "stylesheet_impl.hpp"
#include "utility.hpp"
#include "document_impl.hpp"
#include "node_manip.hpp"
#include "https_input_impl.hpp"
#include <new>
#include <memory>
#include <iterator>
#include <iostream>
#include <algorithm>
#include <stdexcept>
#include <string.h>
#include <libxml/parser.h>
#include <libxml/parserInternals.h>
#include <libxml/SAX.h>
#include <libxml/xmlversion.h>
#include <libxml/tree.h>
#include <libxml/xinclude.h>
#include <libxml/xmlsave.h>
#include <libxml/c14n.h>
#include <ncbiconf.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | cmp |
Functions | |
static int | c14n_op_to_libxml2_op (xml::canonicalization_option op) |
static void | sort_node_recursively (xml::node &n) |
static void | remove_comments_recursively (xml::node &n) |
static void | sort_attributes_recursively (xml::node &n) |
static void | sort_namespace_definitions_recursively (xml::node &n) |
static void | set_parser_context_options (xmlParserCtxtPtr ctxt) |
static xmlDocPtr | xmlSAXParseFileWithData_Custom (xmlSAXHandlerPtr sax, const char *filename, void *data) |
Variables | |
static const std::size_t | const_buffer_size = 4096 |
This file contains the implementation of the xml::document class.
Definition in file document.cpp.
|
static |
Definition at line 94 of file document.cpp.
References xml::c14n_1_0, xml::c14n_1_1, xml::c14n_exclusive_1_0, xml::sort_attr_and_ns, and xml::sort_attr_and_ns_no_decl.
Referenced by xml::document::save_to_string_canonical().
Definition at line 130 of file document.cpp.
References xml::node::get_type(), n, and xml::node::type_comment.
Referenced by xml::document::save_to_string_canonical().
|
static |
Definition at line 159 of file document.cpp.
References NULL.
Referenced by xml::document::document(), and xmlSAXParseFileWithData_Custom().
Definition at line 143 of file document.cpp.
References n, and xml::node::type_element.
Referenced by xml::document::save_to_string_canonical().
Definition at line 151 of file document.cpp.
References n.
Referenced by xml::document::save_to_string_canonical().
Definition at line 122 of file document.cpp.
References n, and xml::node::type_element.
Referenced by xml::document::save_to_string_canonical().
|
static |
Definition at line 237 of file document.cpp.
References data, NULL, and set_parser_context_options().
Referenced by xml::document::document().
|
static |
Definition at line 420 of file document.cpp.
Referenced by xml::document::document(), and xml::event_parser::parse_stream().