how to validate a non empty element with only attributes

Discussion in 'XML' started by edkawas, Jun 24, 2005.

  1. edkawas

    edkawas Guest

    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
     
    edkawas, Jun 24, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John

    empty/non-empty element

    John, Jul 15, 2003, in forum: XML
    Replies:
    1
    Views:
    1,066
    Klaus Johannes Rusch
    Jul 16, 2003
  2. Gustaf Liljegren

    WXS: Empty element with attributes

    Gustaf Liljegren, Aug 21, 2003, in forum: XML
    Replies:
    1
    Views:
    500
    Gustaf Liljegren
    Aug 21, 2003
  3. Replies:
    0
    Views:
    509
  4. Lukas
    Replies:
    3
    Views:
    867
    spiff
    Nov 10, 2005
  5. Mike N.
    Replies:
    3
    Views:
    592
    Joseph Kesselman
    Mar 17, 2008
Loading...

Share This Page