|
INTERVIEW QUESTIONS
XML
XML SCHEMA
DETAILS
Question: How you define complex and simple type of element?
Answer: In an XML Schema element are of two types. 1. Complex Type Element 2. Simple Type Element 1. Complex Type Element: Complex Type Elements are elements those contain elements. 2. Simple Type Element: Simple Type Elements are elements those doesn't contain any other elements. I explain you complex and simple type of element with an example: <?xml version="1.0"?> <note> <to>Abhi</to> <from>Sudhi</from> <heading>Birthday Wish</heading> <body>Happy Birthday Dear</body> </note> In the above example note element called as complex element because it contains elements(to, from, heading, body).And element to, from, heading and body called as Simple Type Element because it doesn't contain any other element.
|
|
|
Category |
XML Schema Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7228 users |
Added on |
4/28/2014 |
Views |
72450 |
Rate it! |
|
|
Question:
How you define complex and simple type of element?
Answer:
In an XML Schema element are of two types. 1. Complex Type Element 2. Simple Type Element 1. Complex Type Element: Complex Type Elements are elements those contain elements. 2. Simple Type Element: Simple Type Elements are elements those doesn't contain any other elements. I explain you complex and simple type of element with an example: <?xml version="1.0"?> <note> <to>Abhi</to> <from>Sudhi</from> <heading>Birthday Wish</heading> <body>Happy Birthday Dear</body> </note> In the above example note element called as complex element because it contains elements(to, from, heading, body).And element to, from, heading and body called as Simple Type Element because it doesn't contain any other element.
Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How you define elements of XML document in an XML Schema?
|
View Answer
|
|
Explain why XML Schemas are Estensible?
|
View Answer
|
|
Why we use XML Schemas?
|
View Answer
|
|
How we can say XML Schemas are successors of DTDs?
|
View Answer
|
|
What is XML Schema?
|
View Answer
|
|
Can you please explain me about the SCHEMA? and how important it is in the payroll?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All XML Schema Interview Questions & Answers - Exam Mode /
Learning Mode
|