W3C home > Mailing lists > Public > www-style@w3.org > December 1995

text transformations in CSS?

From: Scott E. Preece <preece@predator.urbana.mcd.mot.com>
Date: Fri, 8 Dec 1995 10:13:00 -0600
Message-Id: <199512081613.KAA25659@predator.urbana.mcd.mot.com>
To: www-style@w3.org

Has the group thought about including more general textual
transformations in CSS?  Something like

	P.abstract	{text-edit: "<B>Abstract</B> #value"}

where #value is the initial content of the element.  This could be
made more useful by adding some additional "variables", like
list item sequence identifiers, page number, date viewed, date last
modifed, title of page, dictionary-term (available in editing the text
of the corresponding dictionary-value), etc?

The same model would be more useful when working with a domain-specific
DTD, where you might do something like:

	P.bibcit	{text-edit: #child.lastname, #child.firstname \
			 #child.title. ...}

to transform hierarchical elements (this assumes there's a DTD that
defines an element named BIBCIT that contains elements LASTNAME,
FIRSTNAME, etc.) into a preferred presentation style.

Anything like this in the works?


scott preece
motorola/mcg urbana design center	1101 e. university, urbana, il   61801
phone:	217-384-8589			  fax:	217-384-8550
internet mail:	preece@urbana.mcd.mot.com
Received on Friday, 8 December 1995 11:12:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:38 UTC