[Home] [By Thread] [By Date] [Recent Entries]

  • From: John Cowan <cowan@l...>
  • To: xml-dev@i...
  • Date: Sat, 17 Oct 1998 13:09:20 -0400 (EDT)

Samuel R. Blackburn scripsit:

> Is it possible in DTD to say that NAME.FIRST is a string
> and ROUTE.FIRST is a number?

There are two questions here.

1) Is it possible for the content model of FIRST to vary depending
on its context?

Answer: No.

2) Is it possible to restrict the content of FIRST to be a number
as opposed to a general string?

Answer: No.

-- 
John Cowan					cowan@c...
		e'osai ko sarji la lojban.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


  • References:
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member