diff options
| author | Nicolas Clapies <nclapies@entrouvert.com> | 2005-09-19 14:16:34 +0000 |
|---|---|---|
| committer | Nicolas Clapies <nclapies@entrouvert.com> | 2005-09-19 14:16:34 +0000 |
| commit | c89eaaaa97bdfc964b6ba016852a5eb96b7641db (patch) | |
| tree | fe7a0c5ea690c980c38c289b26ff5673fffd0bc7 | |
| parent | 7992abfe075b59013e8b5e08f4e312426e13eabc (diff) | |
Added id attribute in Body element.
| -rw-r--r-- | lasso/xml/soap_body.c | 2 | ||||
| -rw-r--r-- | lasso/xml/soap_body.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lasso/xml/soap_body.c b/lasso/xml/soap_body.c index 5cc1f458..e8fcf6b1 100644 --- a/lasso/xml/soap_body.c +++ b/lasso/xml/soap_body.c @@ -48,6 +48,7 @@ static struct XmlSnippet schema_snippets[] = { { "", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoSoapBody, any) }, + { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBody, id) }, { NULL, 0, 0} }; @@ -59,6 +60,7 @@ static void instance_init(LassoSoapBody *node) { node->any = NULL; + node->id = NULL; } static void diff --git a/lasso/xml/soap_body.h b/lasso/xml/soap_body.h index 5ec92f84..10f56051 100644 --- a/lasso/xml/soap_body.h +++ b/lasso/xml/soap_body.h @@ -49,6 +49,7 @@ struct _LassoSoapBody { LassoNode parent; GList *any; + gchar *id; /* TODO : supports of any attributes */ }; |
