Question: Consider the fillowing DTD declarations
<!ELEMENT company (#PCDATA) >
<!ATTLIST company id CDATA #IMPLIED >
According to this declarations, find the valid xml for company element.
Question: To associate an XML document with a DTD schema in a public place on a server with URI http://www.htcsl.com/hr/name.dtd, which of the following is the valid syntax?
A
<!DOCTYPE names PUBLIC "http://www.htcsl.com/hr/name.dtd">;
B
<!DOCTYPE names SYSTEM "http://www.htcsl.com/hr/name.dtd">;
C
<!DOCTYPE PUBLIC "http://www.htcsl.com/hr/name.dtd">;
D
<!DOCTYPE SYSTEM "http://www.htcsl.com/hr/name.dtd">;
Question: Consider the fillowing DTD declarations
<!ELEMENT name ( first, last) >
<!ELEMENT first (#PCDATA) >
<!ELEMENT last (#PCDATA) >
According to above declarations which of the following is or are valid for name element?