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