You make the IDREF attribute optional, and use the absence of a value (the
#IMPLIED default) to indicate a node that has no "parent".
There are many other solutions, e.g. you could have a dummy element with the
special ID value of "NULL", but I can't see why one would want to.
Mike Kay