Blog Archives

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”. … Read more ›...



XSD reuse interview questions and answers

#1. Reuse by defining a “ComplexType”. EmployeeType is reused. Once JAXB annotated classes are created XML output: #2. Inheritance reuse where sub types can define additional elements like “salary”, …...



800+ Java Interview Q&As

Top