policies-dataset-read-xml procedure
- Last Updated: May 5, 2026
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
policies-dataset-read-xml procedure
Reads an XML file containing audit policies
and then populate the specified ProDataSet object. If the ProDataSet
already contains one or more policies defined in the XML file, this
routine returns a comma-separated list of duplicate policies in
the pcList parameter, so that caller can decide
if it wants to override existing policies while loading the XML
into the ProDataSet. This procedure calls src/auditing/_imp-policies.p to
read the XML file and import it into the ProDataSet.
Parameters:
- INPUT pcxmlFileName AS CHARACTER
- XML file name.
- INPUT-OUPUT DATASET-HANDLE FOR phDataSet
- ProDataSet object.
- OUTPUT pcList AS CHARACTER
- List of existing policies.
- OUTPUT pcErrorMsg AS CHARACTER
- Error messages.
Example: