1<?xml version="1.0" encoding="utf-8"?> 2<!DOCTYPE context [ 3 <!ELEMENT context (device)*> 4 <!ELEMENT device (channel | attribute)*> 5 <!ELEMENT channel (attribute)*> 6 <!ELEMENT attribute EMPTY> 7 <!ATTLIST context name CDATA #REQUIRED> 8 <!ATTLIST device id CDATA #REQUIRED name CDATA #IMPLIED> 9 <!ATTLIST channel id CDATA #REQUIRED type CDATA #REQUIRED name CDATA #IMPLIED> 10 <!ATTLIST attribute name CDATA #REQUIRED> 11]> 12<context name="local"> 13 <device id="iio:device0" name="ad7091r" > 14 <attribute name="in_voltage_scale" /> 15 </device> 16</context> 17