profile.c | profile.c | |||
---|---|---|---|---|
skipping to change at line 295 | skipping to change at line 295 | |||
return prof; | return prof; | |||
} | } | |||
void xccdf_profile_to_dom(struct xccdf_profile *profile, xmlNode *profile_n ode, xmlDoc *doc, xmlNode *parent) | void xccdf_profile_to_dom(struct xccdf_profile *profile, xmlNode *profile_n ode, xmlDoc *doc, xmlNode *parent) | |||
{ | { | |||
xmlNs *ns_xccdf = xmlSearchNsByHref(doc, parent, XCCDF_BASE_NAMESPAC E); | xmlNs *ns_xccdf = xmlSearchNsByHref(doc, parent, XCCDF_BASE_NAMESPAC E); | |||
/* Handle attributes */ | /* Handle attributes */ | |||
if (xccdf_profile_get_abstract(profile)) | if (xccdf_profile_get_abstract(profile)) | |||
xmlNewProp(profile_node, BAD_CAST "abstract", BAD_CAST "True "); | xmlNewProp(profile_node, BAD_CAST "abstract", BAD_CAST "true "); | |||
const char *extends = xccdf_profile_get_extends(profile); | const char *extends = xccdf_profile_get_extends(profile); | |||
if (extends) | if (extends) | |||
xmlNewProp(profile_node, BAD_CAST "extends", BAD_CAST extend s); | xmlNewProp(profile_node, BAD_CAST "extends", BAD_CAST extend s); | |||
const char *note_tag = xccdf_profile_get_note_tag(profile); | const char *note_tag = xccdf_profile_get_note_tag(profile); | |||
if (note_tag) | if (note_tag) | |||
xmlNewProp(profile_node, BAD_CAST "note-tag", BAD_CAST note_ tag); | xmlNewProp(profile_node, BAD_CAST "note-tag", BAD_CAST note_ tag); | |||
/* Hanlde children */ | /* Hanlde children */ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |