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”. Q2. Can you explain as per the XSD shown above the term “targetNamespace”? A2. … Read more ›...

Members Only Content
Log In Register Home


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”, “contractRate”, etc. Once the JAXB annotated classes are created XML output: #3. … Read more ›...

Members Only Content
Log In Register Home


800+ Java Interview Q&As Menu

Top