| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
<!-- order of parent/restriction in dlna-profile --> |
| 4 |
|
| 5 |
<dlna-profiles> |
| 6 |
<restrictions> |
| 7 |
<restriction id="foo" type="container"> |
| 8 |
<field name="name" type="string"> |
| 9 |
<value>foo</value> |
| 10 |
</field> |
| 11 |
</restriction> |
| 12 |
<restriction id="bar" type="audio"> |
| 13 |
<field name="name" type="string"> |
| 14 |
<value>bar</value> |
| 15 |
</field> |
| 16 |
</restriction> |
| 17 |
</restrictions> |
| 18 |
|
| 19 |
<dlna-profile name="MP3X" mime="audio/mpeg"> |
| 20 |
<parent name="bar" /> |
| 21 |
|
| 22 |
<restriction id="MP3X" type="audio"> |
| 23 |
<field name="name" type="string"> |
| 24 |
<value>audio/mpeg</value> |
| 25 |
</field> |
| 26 |
</restriction> |
| 27 |
|
| 28 |
<parent name="foo" /> |
| 29 |
</dlna-profile> |
| 30 |
</dlna-profiles> |