Inheritance/defaulting of attributes

Paul Prescod papresco at technologist.com
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 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