How to make value of a tag mandatory in XML

View: New views
1 Messages — Rating Filter:   Alert me  

How to make value of a tag mandatory in XML

by niamul :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I want to make a field mandatory in my XSD i.e. the xml should not contain a empty tag like <name/>.
How should I define the xsd for this restriction.
If anyone knows please suggest. Thanks in advance..
LightInTheBox - Buy quality products at wholesale price