Parsing hostname should return a dictionary with the name and type attributes of the hostname and not just a string of hostnames names:
According to DTD:
<!ELEMENT hostname EMPTY >
<!ATTLIST hostname
name CDATA #IMPLIED
type %hostname_types; #IMPLIED
>
Parsing hostname should return a dictionary with the name and type attributes of the hostname and not just a string of hostnames names: According to DTD:
Example of XML output:
Currently hostnames are just string of names