1<?xml version="1.0" standalone="yes"?> 2<!DOCTYPE driconf [ 3 <!ELEMENT driconf (device+)> 4 <!ELEMENT device (application | engine)+> 5 <!ATTLIST device driver CDATA #IMPLIED> 6 <!ELEMENT application (option+)> 7 <!ATTLIST application name CDATA #REQUIRED 8 executable CDATA #IMPLIED 9 sha1 CDATA #IMPLIED 10 application_name_match CDATA #IMPLIED 11 application_versions CDATA #IMPLIED> 12 <!ELEMENT engine (option+)> 13 14 <!-- engine_name_match: A regexp matching the engine name --> 15 <!-- engine_versions: A version in range format 16 (version 1 to 4 : "1:4") --> 17 18 <!ATTLIST engine engine_name_match CDATA #REQUIRED 19 engine_versions CDATA #REQUIRED> 20 21 <!ELEMENT option EMPTY> 22 <!ATTLIST option name CDATA #REQUIRED 23 value CDATA #REQUIRED> 24]> 25 26<driconf> 27 <device> 28 <application name="Application 1" executable="app1"> 29 <option name="mesa_drirc_option" value="1" /> 30 </application> 31 32 <application name="Application 2" executable="app2"> 33 <option name="mesa_drirc_option" value="2" /> 34 </application> 35 36 <application name="Application 2" application_name_match="Versioned App.*" application_versions="0:1"> 37 <option name="mesa_drirc_option" value="3" /> 38 </application> 39 40 <application name="Application 2" application_name_match="Versioned App.*" application_versions="2:3"> 41 <option name="mesa_drirc_option" value="4" /> 42 </application> 43 44 <engine engine_name_match="Versioned Engine.*" engine_versions="0:1"> 45 <option name="mesa_drirc_option" value="5" /> 46 </engine> 47 <engine engine_name_match="Versioned Engine.*" engine_versions="2:3"> 48 <option name="mesa_drirc_option" value="6" /> 49 </engine> 50 </device> 51</driconf> 52