- From: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
- Date: Fri, 8 Dec 1995 15:30:17 -0500
- To: preece@predator.urbana.mcd.mot.com (Scott E. Preece)
- Cc: www-style@w3.org
At 10:13 AM 12/8/95 -0600, Scott E. Preece wrote: > >Has the group thought about including more general textual >transformations in CSS? Something like > > P.abstract {text-edit: "<B>Abstract</B> #value"} The style sheet mechanism should definately not change the parse tree of the SGML document. "Before text" and "After text" are okay, but elements should not be introduced. If you want to put formatting within your text transformations, you should create a new, non-HTML formatting language whose parser is called only during the processing of the STYLE element. This is, again, an issue of separating form and content. If the style sheet can modify the parse tree, it will become impossible to validate the HTML document without "testing it out" with every style sheet engine. Paul Prescod
Received on Friday, 8 December 1995 15:30:45 UTC