What is the mechanism by which elements and attributes names can be assigned to a group
Answers
Answer:
XML Schema is more dominant than DTD. To show the intensity of the XML Schema instrument, the initial three postings quickly think about the various methods for speaking to components. Posting 1 demonstrates an extract of a XML report. Posting 2 demonstrates these two components proclaimed in DTD linguistic structure, and Listing 3 comprises of the relating XML Schema punctuation. Note that the punctuation in Listing 3 is equivalent to XML linguistic structure.
Through the outline, an approving parser can confirm that the component InvoiceNo is a positive whole number and the component ProductID comprises of one letter among An and Z pursued by six digits. On the other hand, an approving parser alluding to the DTD can just check that these components are spoken to as strings.