1 <!ELEMENT service-group (name,service+)> 2 <!ATTLIST service-group> 3 <!ELEMENT name (#PCDATA)> 4 <!ATTLIST name replace-wildcards (yes|no) "no"> 5 <!ELEMENT service (type,subtype*,domain-name?,host-name?,port,txt-record*)> 6 <!ATTLIST service protocol (ipv4|ipv6|any) "any"> 7 <!ELEMENT type (#PCDATA)> 8 <!ATTLIST type> 9 <!ELEMENT subtype (#PCDATA)> 10 <!ATTLIST subtype> 11 <!ELEMENT domain-name (#PCDATA)> 12 <!ATTLIST domain-name> 13 <!ELEMENT host-name (#PCDATA)> 14 <!ATTLIST host-name> 15 <!ELEMENT port (#PCDATA)> 16 <!ATTLIST port> 17 <!ELEMENT txt-record (#PCDATA)> 18 <!ATTLIST txt-record> 19