NCBI C++ ToolKit
Namespaces | Classes | Enumerations | Functions | Variables
xslt Namespace Reference

XML library namespace. More...

Namespaces

 impl
 

Classes

class  extension_element
 The XSLT extension element object is used to be a base class for the user provided XSLT extension elements. More...
 
class  extension_function
 The XSLT extension function object is used to be a base class for the user provided XSLT functions. More...
 
class  stylesheet_param
 A helper class to add a syntactic sugar when single quoted parameters need to added for xslt transfolmation. More...
 
class  stylesheet
 The xslt::stylesheet class is used to hold information about an XSLT stylesheet. More...
 
class  xpath_object
 The xslt::xpath_object class is used to store extension function arguments and return values. More...
 
class  exception
 This exception class is thrown by xmlwrapp for all runtime XSLT-related errors. More...
 
class  init
 The xslt::init class is used to configure the XSLT engine. More...
 

Enumerations

enum  xpath_error {
  xpath_expression_ok , xpath_number_error , xpath_unfinished_literal_error , xpath_start_literal_error ,
  xpath_variable_ref_error , xpath_undef_variable_error , xpath_invalid_predicate_error , xpath_expr_error ,
  xpath_unclosed_error , xpath_unknown_func_error , xpath_invalid_operand , xpath_invalid_type ,
  xpath_invalid_arity , xpath_invalid_ctxt_size , xpath_invalid_ctxt_position , xpath_memory_error ,
  xptr_syntax_error , xptr_resource_error , xptr_sub_resource_error , xpath_undef_prefix_error ,
  xpath_encoding_error , xpath_invalid_char_error , xpath_invalid_ctxt
}
 XPath error which could be reported by a user XSLT extension function. More...
 
enum  xpath_object_type {
  type_undefined , type_nodeset , type_boolean , type_number ,
  type_string , type_not_implemented
}
 Identifies what is stored in an xpath_object instance. More...
 

Functions

static std::string convert_error_code (xpath_error error)
 

Variables

const char * kCouldNotCopyNode = "Could not copy node"
 
const char * kCouldNotCreateNodeSet = "Could not create a new node set"
 
const char * kCouldNotCreateXpathNodeSet = "Could not create new xpath nodeset"
 
const char * kUninitialisedObject = "Uninitialised xpath_object"
 
const char * kCannotCopyXpathObject = "Cannot copy xpath_object"
 
const char * kConverToNumberFailed = "XPath conversion to number failed"
 
const char * kUnexpectedXpathObjectType = "Unexpected xpath_object type"
 

Detailed Description

XML library namespace.

XSLT library namespace.

Enumeration Type Documentation

◆ xpath_error

XPath error which could be reported by a user XSLT extension function.

Enumerator
xpath_expression_ok 
xpath_number_error 
xpath_unfinished_literal_error 
xpath_start_literal_error 
xpath_variable_ref_error 
xpath_undef_variable_error 
xpath_invalid_predicate_error 
xpath_expr_error 
xpath_unclosed_error 
xpath_unknown_func_error 
xpath_invalid_operand 
xpath_invalid_type 
xpath_invalid_arity 
xpath_invalid_ctxt_size 
xpath_invalid_ctxt_position 
xpath_memory_error 
xptr_syntax_error 
xptr_resource_error 
xptr_sub_resource_error 
xpath_undef_prefix_error 
xpath_encoding_error 
xpath_invalid_char_error 
xpath_invalid_ctxt 

Definition at line 43 of file xpath_errors.hpp.

◆ xpath_object_type

Identifies what is stored in an xpath_object instance.

The only limited support is provided for the libxml2 types. In particular the following libxml2 types are not supported:

  • point
  • range
  • locationset
  • users
  • xslt tree
Enumerator
type_undefined 
type_nodeset 
type_boolean 
type_number 
type_string 
type_not_implemented 

Definition at line 50 of file xpath_object_type.hpp.

Function Documentation

◆ convert_error_code()

static std::string xslt::convert_error_code ( xpath_error  error)
static

Variable Documentation

◆ kCannotCopyXpathObject

const char* xslt::kCannotCopyXpathObject = "Cannot copy xpath_object"

◆ kConverToNumberFailed

const char* xslt::kConverToNumberFailed = "XPath conversion to number failed"

◆ kCouldNotCopyNode

const char* xslt::kCouldNotCopyNode = "Could not copy node"

Definition at line 103 of file xpath_object.cpp.

Referenced by xslt::xpath_object::xpath_object().

◆ kCouldNotCreateNodeSet

const char* xslt::kCouldNotCreateNodeSet = "Could not create a new node set"

Definition at line 104 of file xpath_object.cpp.

Referenced by xslt::xpath_object::xpath_object().

◆ kCouldNotCreateXpathNodeSet

const char* xslt::kCouldNotCreateXpathNodeSet = "Could not create new xpath nodeset"

Definition at line 105 of file xpath_object.cpp.

Referenced by xslt::xpath_object::xpath_object().

◆ kUnexpectedXpathObjectType

const char* xslt::kUnexpectedXpathObjectType = "Unexpected xpath_object type"

◆ kUninitialisedObject

const char* xslt::kUninitialisedObject = "Uninitialised xpath_object"
Modified on Sun Apr 14 05:28:13 2024 by modify_doxy.py rev. 669887