adspace
What is the difference between simple element and complex element?
Answer Posted / Garima Singh
A simple element in XML is an element that has no subelements (i.e., it only contains text or an attribute) and cannot contain other elements, while a complex element can have both content and child elements within its tags. A simple element is usually represented as an empty tag with no closing tag (e.g., <tag/>).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers