how to validate a non empty element with only attributes

E

edkawas

Hi,

I have a schema that validates the following:

<foo:GFF xmlns:foo="http://www.foo.org/foo" foo:articleName=""
foo:id="" foo:namespace=""/>

What should i do so that only the following is valid:
<foo:GFF xmlns:foo="http://www.foo.org/foo" foo:articleName=""
foo:id="" foo:namespace="">blah blah blah</foo:GFF>

Thanks,

Ed
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,247
Members
46,844
Latest member
JudyGvh32

Latest Threads

Top