What is the difference between simple element and complex element?



What is the difference between simple element and complex element?..

Answer / 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

More XML XSLT RSS Interview Questions

How to use element in xslt? : xslt

1 Answers  


How to tell web browsers that your web pages have atom feeds?

1 Answers  


Is xml relational?

1 Answers  


Can multiple xml namespace declarations be in scope at the same time?

1 Answers  


What are the elements of wsdl?

1 Answers  


What is an xml file format?

1 Answers  


what is the XML? what is the difference between XML AND HTML? How it is used in .Net and advantages?

3 Answers   ADP,


Explain the working of xslt?

1 Answers  


How do you use tags in indesign?

1 Answers  


How do I find url?

1 Answers  


If xml is just a subset of sgml, can I use xml files directly with existing sgml tools?

1 Answers  


What is dtd ( document type definition )?

1 Answers  


Categories