← Prev in month ← Prev in thread
Next in thread → Next in month →

Constraining mixed content models

From
Gregory Murphy <>
To
Date
2004-03-01T20:04:26Z
ID
<Pine.GSO.4.10.10403011203280.18735-100000@gris>
Thread
Constraining mixed content models
Is there a schema language for XML that allows one to specify that an
element may have mixed content, but must not be empty or contain only
space characters? I would like to define a document type such that 

  <label>xxx</label>
  <label>x<y>x</y>x</label>
  <label><y/></label>

are valid, but

  <label></label>
  <label>   </label>

are not. 

// Gregory Murphy.  Isopaleocopria.
← Prev in month ← Prev in thread
Next in thread → Next in month →