# mco_xml_get_default_policy

> Get the default XML policy.

### Prototype

        void mco_xml_get_default_policy(	/*OUT*/ mco_xml_policy_t * p );

### Arguments

p | The address of a `mco_xml_policy_t` variable to receive the policy.

### Description

> This function gets the default XML policy.

### Return Codes

void | No value returned.

### Example

        Application snippet:

        const char * dbname = "SimpleDb";

        int main(int argc, char* argv[])
        {
            mco_db_h db;
            MCO_RET rc;
            mco_device_t       dev;
            mco_db_params_t    db_params;
            mco_xml_policy_t policy;
            ...
            rc = mco_db_open_dev( dbname, simple_get_dictionary(), &dev, 1, &db_params );
            if ( MCO_S_OK != rc )
            {
                mco_xml_get_default_policy( &policy );

                ...
            }
            ...
        }

### Files

Header file:
mcoxml.h
Source file:
mcoxml0.c
Library:
libmcolib.a