XML data structure. More...
#include <ngx_http_xslt2_xml.h>
Data Fields | |
ngx_int_t | id |
ngx_http_request_t * | r |
nginx http request | |
xmlDocPtr | doc |
xml doc pointer, contains parsed XML document | |
xmlParserCtxtPtr | ctxt |
xml parser context, used for XML parsing | |
xmlSAXHandler * | sax |
sax handler, used for XML parsing | |
ngx_http_xslt2_sheet_t * | sheets |
list of stylesheets connected with xml document | |
ngx_http_xslt2_sheet_t * | act_sheet |
ngx_http_xslt2_sheet_t * | sheets_tail |
ngx_int_t | sheets_n |
ngx_int_t | dl_in_progress |
contains number of asynchronous downloads in progress | |
ngx_flag_t | xml_ready |
flag used to determine whether xml parsing is finished or not | |
ngx_chain_t * | buffer_chain |
nginx chain with result of xml parsing and application of style sheets | |
ngx_int_t | res_len |
total length of output | |
char * | libxml_error |
contains error returned by libxml | |
ngx_int_t | stylesheet_err |
error from style sheet parsing | |
u_char * | stylesheet_err_msg |
ngx_uint_t | done |
xml data ready -> xml parsed, style sheets downloaded and applied |
XML data structure.
Definition at line 49 of file ngx_http_xslt2_xml.h.
Definition at line 63 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_xml_apply_stylesheets(), and ngx_http_xslt2_xml_create_new_stylesheet().
ngx_chain_t* ngx_http_xslt2_xml_data_t::buffer_chain |
nginx chain with result of xml parsing and application of style sheets
Definition at line 73 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_process_data(), ngx_http_xslt2_xml_apply_stylesheets(), and ngx_http_xslt2_xml_return_original().
xmlParserCtxtPtr ngx_http_xslt2_xml_data_t::ctxt |
xml parser context, used for XML parsing
Definition at line 57 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_xml_add_data_chunk(), ngx_http_xslt2_xml_cleanup(), ngx_http_xslt2_xml_create_new(), ngx_http_xslt2_xml_sax_attribute_decl(), ngx_http_xslt2_xml_sax_cdata_block(), ngx_http_xslt2_xml_sax_characters(), ngx_http_xslt2_xml_sax_comment(), ngx_http_xslt2_xml_sax_element_decl(), ngx_http_xslt2_xml_sax_end_document(), ngx_http_xslt2_xml_sax_end_element(), ngx_http_xslt2_xml_sax_entity_decl(), ngx_http_xslt2_xml_sax_get_entity(), ngx_http_xslt2_xml_sax_get_parameter_entity(), ngx_http_xslt2_xml_sax_has_external_subset(), ngx_http_xslt2_xml_sax_has_internal_subset(), ngx_http_xslt2_xml_sax_internal_subset(), ngx_http_xslt2_xml_sax_is_standalone(), ngx_http_xslt2_xml_sax_notation_decl(), ngx_http_xslt2_xml_sax_processing_instruction(), ngx_http_xslt2_xml_sax_reference(), ngx_http_xslt2_xml_sax_resolve_entity(), ngx_http_xslt2_xml_sax_start_document(), ngx_http_xslt2_xml_sax_start_element(), and ngx_http_xslt2_xml_sax_unparsed_entity_decl().
contains number of asynchronous downloads in progress
Definition at line 68 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_xml_download_handler(), ngx_http_xslt2_xml_get_cached_stylesheet(), ngx_http_xslt2_xml_get_external_stylesheet(), and ngx_http_xslt2_xml_mxcache_get_handler().
xmlDocPtr ngx_http_xslt2_xml_data_t::doc |
xml doc pointer, contains parsed XML document
Definition at line 55 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_xml_add_data_chunk(), ngx_http_xslt2_xml_apply_stylesheets(), ngx_http_xslt2_xml_cleanup(), and ngx_http_xslt2_xml_return_original().
ngx_uint_t ngx_http_xslt2_xml_data_t::done |
xml data ready -> xml parsed, style sheets downloaded and applied
Definition at line 85 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_process_data(), ngx_http_xslt2_xml_apply_stylesheets(), and ngx_http_xslt2_xml_return_original().
ngx_int_t ngx_http_xslt2_xml_data_t::id |
Definition at line 50 of file ngx_http_xslt2_xml.h.
contains error returned by libxml
Definition at line 78 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_xml_add_data_chunk(), and ngx_http_xslt2_xml_sax_error().
ngx_http_request_t* ngx_http_xslt2_xml_data_t::r |
nginx http request
Definition at line 52 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_xml_add_data_chunk(), ngx_http_xslt2_xml_apply_stylesheets(), ngx_http_xslt2_xml_create_new(), ngx_http_xslt2_xml_create_new_stylesheet(), ngx_http_xslt2_xml_download_handler(), ngx_http_xslt2_xml_get_external_stylesheet(), ngx_http_xslt2_xml_get_local_stylesheet(), ngx_http_xslt2_xml_get_stylesheet(), ngx_http_xslt2_xml_mxcache_get_handler(), ngx_http_xslt2_xml_parse_stylesheet(), ngx_http_xslt2_xml_return_original(), ngx_http_xslt2_xml_stylesheet_error(), and ngx_http_xslt2_xml_stylesheet_node().
ngx_int_t ngx_http_xslt2_xml_data_t::res_len |
total length of output
Definition at line 75 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_process_data(), ngx_http_xslt2_xml_apply_stylesheets(), and ngx_http_xslt2_xml_return_original().
xmlSAXHandler* ngx_http_xslt2_xml_data_t::sax |
sax handler, used for XML parsing
Definition at line 59 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_xml_create_new(), ngx_http_xslt2_xml_sax_attribute_decl(), ngx_http_xslt2_xml_sax_cdata_block(), ngx_http_xslt2_xml_sax_characters(), ngx_http_xslt2_xml_sax_comment(), ngx_http_xslt2_xml_sax_element_decl(), ngx_http_xslt2_xml_sax_end_document(), ngx_http_xslt2_xml_sax_end_element(), ngx_http_xslt2_xml_sax_entity_decl(), ngx_http_xslt2_xml_sax_get_entity(), ngx_http_xslt2_xml_sax_get_parameter_entity(), ngx_http_xslt2_xml_sax_has_external_subset(), ngx_http_xslt2_xml_sax_has_internal_subset(), ngx_http_xslt2_xml_sax_internal_subset(), ngx_http_xslt2_xml_sax_is_standalone(), ngx_http_xslt2_xml_sax_notation_decl(), ngx_http_xslt2_xml_sax_processing_instruction(), ngx_http_xslt2_xml_sax_reference(), ngx_http_xslt2_xml_sax_resolve_entity(), ngx_http_xslt2_xml_sax_start_document(), ngx_http_xslt2_xml_sax_start_element(), and ngx_http_xslt2_xml_sax_unparsed_entity_decl().
list of stylesheets connected with xml document
Definition at line 62 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_xml_add_data_chunk(), ngx_http_xslt2_xml_apply_stylesheets(), ngx_http_xslt2_xml_cleanup(), and ngx_http_xslt2_xml_create_new_stylesheet().
ngx_int_t ngx_http_xslt2_xml_data_t::sheets_n |
Definition at line 65 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_xml_create_new_stylesheet().
Definition at line 64 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_xml_apply_stylesheets(), and ngx_http_xslt2_xml_create_new_stylesheet().
error from style sheet parsing
Definition at line 81 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_xml_add_data_chunk(), and ngx_http_xslt2_xml_stylesheet_error().
Definition at line 82 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_xml_add_data_chunk(), and ngx_http_xslt2_xml_stylesheet_error().
ngx_flag_t ngx_http_xslt2_xml_data_t::xml_ready |
flag used to determine whether xml parsing is finished or not
Definition at line 70 of file ngx_http_xslt2_xml.h.
Referenced by ngx_http_xslt2_xml_add_data_chunk(), and ngx_http_xslt2_xml_apply_stylesheets().