From d3f99bc34d5c6db9bd8ad1d87b7d956eecc4cc8f Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Fri, 26 Nov 2004 08:53:06 +0000 Subject: use attribute xml snippet support in --- lasso/xml/lib_name_identifier_mapping_request.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lasso/xml/lib_name_identifier_mapping_request.c b/lasso/xml/lib_name_identifier_mapping_request.c index f31c4f82..768364ef 100644 --- a/lasso/xml/lib_name_identifier_mapping_request.c +++ b/lasso/xml/lib_name_identifier_mapping_request.c @@ -64,6 +64,7 @@ { "ProviderID", 'c', (void**)&(request->ProviderID) }, \ { "NameIdentifier", 'n', (void**)&(request->NameIdentifier) }, \ { "TargetNamespace", 'c', (void**)&(request->TargetNamespace) }, \ + { "consent", 'a', (void**)&(request->consent) }, \ { NULL, 0, NULL} \ }; @@ -82,9 +83,6 @@ get_xmlNode(LassoNode *node) xmlSetNs(xmlnode, xmlNewNs(xmlnode, LASSO_LIB_HREF, LASSO_LIB_PREFIX)); lasso_node_build_xml_with_snippets(xmlnode, snippets); - if (request->consent) - xmlSetProp(xmlnode, "consent", request->consent); - return xmlnode; } @@ -96,7 +94,6 @@ init_from_xml(LassoNode *node, xmlNode *xmlnode) if (parent_class->init_from_xml(node, xmlnode)) return -1; lasso_node_init_xml_with_snippets(xmlnode, snippets); - request->consent = xmlGetProp(xmlnode, "consent"); return 0; } -- cgit