When you choose select the Rule Based option in the Overlay Settings, an xml file is used to compute the overlay text. No xml file is provided by default, you must write your own xml file. The product structure is parsed to find the highest value of the parameter defined in the xml file. The text associated to this highest value is displayed as the Security Overlay. Dtd file according to which the xml file is constructed<?xml version="1.0" encoding="UTF-8"?> <!-- COPYRIGHT DASSAULT SYSTEMES 2004 - > <!ELEMENT MappingDescription (InParameterValue+)> <!ATTLIST MappingDescription ParameterName CDATA #REQUIRED ParameterType (STRING | INT | DOUBLE | BOOLEAN) #REQUIRED AppliName CDATA #REQUIRED > <!ELEMENT InParameterValue (OutAppliValue+)> <!ATTLIST InParameterValue PValue CDATA #REQUIRED > <!ELEMENT OutAppliValue EMPTY> <!ATTLIST OutAppliValue APName CDATA #REQUIRED APType (STRING | INT | DOUBLE | BOOLEAN) #REQUIRED APValue CDATA #REQUIRED > Remarks:
Example of xml file used as rule-based file for Security Overlay<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE MappingDescription SYSTEM "DMUAttMapping.dtd"> <!-- COPYRIGHT DASSAULT SYSTEMES 2004 - > <MappingDescription ParameterName="V_sec_level" ParameterType="INT" AppliName="Security Overlay"> <InParameterValue PValue="0"> <OutAppliValue APName="OverlayText" APType="STRING" APValue="Public Data" /> </InParameterValue> <InParameterValue PValue="1"> <OutAppliValue APName="OverlayText" APType="STRING" APValue="Confidential Data" /> </InParameterValue> <InParameterValue PValue="2"> <OutAppliValue APName="OverlayText" APType="STRING" APValue="High Confidential Data" /> </InParameterValue> <InParameterValue PValue="3"> <OutAppliValue APName="OverlayText" APType="STRING" APValue="Top Secret Data" /> </InParameterValue> </MappingDescription> In the above example:
If the highest value of "V_sec_level" found in the product structure is "2", the displayed Security Overlay will be "High Confidential Data". |