B.3 Creating the Removal XML File

Your XML file can identify one or more rules that you want to remove. If you are removing several rules that have the same prefix or suffix, you can use a percent(%) wildcard character.

To remove one or more rules without using a wildcard character, create an XML file that has the following format:

<?xml version="1.0" encoding="UTF-8" ?>

- <xml>

- <LEGENDPARSERS>

- <LEGENDPARSER>

<DELETERULE ID="ruleID" />

</LEGENDPARSER>

</LEGENDPARSERS>

</xml>

where ruleID is the name of the rule taken from the rules XML file. For more information, see Section B.1, Identifying a Legend Rule. Use the <DELETERULE ID> tag once for each rule that you want to delete.

To remove multiple rules using a wildcard character, create an XML file that has the following format:

<?xml version="1.0" encoding="UTF-8" ?>

- <xml>

- <LEGENDPARSERS>

- <LEGENDPARSER>

<DELETERULE WildCard="prefixofrule.%" />

</LEGENDPARSER>

</LEGENDPARSERS>

</xml>

where prefixofrule is the portion of the rule name common to all of the rules that you want to delete. Be sure that there are not any rules that you want to keep that have the same prefix. If there are, then you will want to provide a more specific prefix, or supply <DELETERULE ID> tags to list the specific rules that you want to delete.

You can use a combination of <DELETERULE ID> and <DELETERULE WildCard> tags in your file. For example:

<?xml version="1.0" encoding="UTF-8" ?>

- <xml>

- <LEGENDPARSERS>

- <LEGENDPARSER>

<DELETERULE WildCard="NT_PhysicalDiskB%" />

<DELETERULE ID="Commerce_AuthCheckSuccess.1" />

</LEGENDPARSER>

</LEGENDPARSERS>

</xml>

Save your removal XML file as <nameoffile>.xml.