When you run an XSLT processor on a stylesheet using CSS Within, the following operations must occur:
By default, css:rule
elements are
literal element constructors,
meaning that your output will be littered with CSS. So this
must be prevented;
Your stylesheet must be analyzed and all of the CSS elements gathered up into one or more CSS files.