Basic and Advance XML Programming Question:

When constructing an XML DTD, how do you create an external entity reference in an attribute value?

Tweet Share WhatsApp

Answer:

Every interview session should have at least one trick question. Although possible when using SGML, XML DTDs don't support defining external entity references in attribute values. It's more important for the candidate to respond to this question in a logical way than than the candidate know the somewhat obscure answer.

Download XML PDF Read All 27 XML Questions
Previous QuestionNext Question
Using XSLT, how would you extract a specific attribute from an element in an XML document?What is the difference between XML and C or C++ or Java?