How we define an empty XML element?

How we define an empty XML element?

 I have given you a syntax using them you can create an empty XML element.

<! ELEMENT element_name EMPTY>

Example:

<!ELEMENT Abhi EMPTY>

 Now, An empty Abhi element has been created.


By:Vivek
Date:2015-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related XML Subjective Links

XML Subjective interview questions and answers for experienced and fresher