Inheritance/defaulting of attributes

Paul Prescod papresco at
Mon Oct 6 19:06:52 BST 1997

Peter Murray-Rust wrote:
> Is this seen as a sufficiently general mechanism in XML that it is worth
> creating a DTD-independent engine for this? 

This semantic can be expressed in the stylesheet language:

(element p 
	(make paragraph 
		font-color: (inherited-attribute-string "COLOR")))

I think that this is valid DSSSL code. I don't see much benefit in
moving this semantic into the markup language itself. There are others I
would add before this.

 Paul Prescod

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

More information about the Xml-dev mailing list