* Los nodos se recuperan mediante los métodos node_begin, node_end y node
*/
void xml::XPath::apply(const Document& document, const char* expression, const int mode)
-throw(RuntimeException) {
+noexcept(false) {
a_mode = mode;
ConfigSkeleton configSkeleton(&XPath::callbackApply);
}
bool xml::XPath::match(const Document& document, const char* expression, const int mode)
-throw(RuntimeException) {
+noexcept(false) {
a_result = false;
ConfigSkeleton configSkeleton(&XPath::callbackMatch);
}
const xml::Node* xml::XPath::find(const Document& document, const char* expression, const int mode, const Exception::Mode::_v emode)
-throw(RuntimeException) {
+noexcept(false) {
apply(document, expression, mode);
Node::const_child_iterator ii = node_begin();
}
void xml::XPath::skeleton(const Document& document, const char* expression, xml::XPath::ConfigSkeleton& config)
-throw(RuntimeException) {
+noexcept(false) {
LOGDEBUG(
string msg("xml::XPath::skeleton | Document: ");
msg += functions::asString(document.getContent());
* lo que nos obliga a recorrerlo en profundidad.
*/
void xml::XPath::initializeNamespaces(_xmlXPathContext* context, const Document& document)
-throw(RuntimeException) {
+noexcept(false) {
xmlNode* root;
if((root = xmlDocGetRootElement(document.a_handle)) == NULL)
}
void xml::XPath::forwardNamespaces(_xmlXPathContext* context, _xmlNode* xmlNode)
-throw(RuntimeException) {
+noexcept(false) {
while(xmlNode != NULL) {
if(xmlNode->type == XML_ELEMENT_NODE) {
for(xmlNs* ns = xmlNode->nsDef; ns != NULL; ns = ns->next) {
}
void xml::XPath::text(Node* node, xmlNode* xmlNode)
-throw(RuntimeException) {
+noexcept(false) {
bool isSeparator;
const char* w;