28 #include <common/util.h>
29 #include <libxml/xmlreader.h>
33 #define XCCDF_DC_NAMESPACE BAD_CAST "http://purl.org/dc/elements/1.1/"
34 #define XCCDF_DSIG_NAMESPACE BAD_CAST "http://w3.org/2000/09/xmldsig#"
35 #define XCCDF_XHTML_NAMESPACE BAD_CAST "http://www.w3.org/1999/xhtml"
36 #define XCCDF_XSI_NAMESPACE BAD_CAST "http://www.w3.org/2001/XMLSchema-instance"
38 xmlNode *xccdf_benchmark_to_dom(
struct xccdf_benchmark *benchmark, xmlDocPtr doc,
39 xmlNode *parent,
void *user_args);
40 xmlNode *xccdf_item_to_dom(
struct xccdf_item *item, xmlDoc *doc, xmlNode *parent);
41 xmlNode *xccdf_profile_note_to_dom(
struct xccdf_profile_note *note, xmlDoc *doc, xmlNode *parent);
42 xmlNode *xccdf_fixtext_to_dom(
struct xccdf_fixtext *fixtext, xmlDoc *doc, xmlNode *parent);
43 xmlNode *xccdf_fix_to_dom(
struct xccdf_fix *fix, xmlDoc *doc, xmlNode *parent);
45 xmlNode *xccdf_warning_to_dom(
struct xccdf_warning *warning, xmlDoc *doc, xmlNode *parent);
47 void xccdf_rule_to_dom(
struct xccdf_rule *rule, xmlNode *rule_node, xmlDoc *doc, xmlNode *parent);
48 void xccdf_value_to_dom(
struct xccdf_value *value, xmlNode *value_node, xmlDoc *doc, xmlNode *parent);
49 void xccdf_group_to_dom(
struct xccdf_group *group, xmlNode *group_node, xmlDoc *doc, xmlNode *parent);
50 void xccdf_profile_to_dom(
struct xccdf_profile *profile, xmlNode *profile_node, xmlDoc *doc, xmlNode *parent);
51 void xccdf_result_to_dom(
struct xccdf_result *result, xmlNode *result_node, xmlDoc *doc, xmlNode *parent);