Add XML processing for custom conditionals