DTD Question

John Cowan cowan at locke.ccil.org
Sat Oct 17 18:54:11 BST 1998


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 at ccil.org
		e'osai ko sarji la lojban.

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




More information about the Xml-dev mailing list