11 FAQ XSD interview questions and answers

Q1. How do you restrict an element in XSD? A1. With “xs:restriction”. In the XSD shown below, the “AddressType” is restricted to “Mailing”, “Office”, and “Home”.

Q2. Can you explain as per the XSD shown above the term “targetNamespace”?…


Java Interview FAQs

800+ Java Interview Q&As

Top