On Friday, November 21, 2003, at 06:58  AM, Vitaly Harisov wrote:

> Hussein Shafie wrote:
>> For now, we recommend what follows:
>> [1] Create your own custom CSS style sheet (example: 
>> literate_docbook.css) in the user configuration directory or in a 
>> system wide configuration directory different from XXE configuration 
>> directory.
>> [2] First line of literate_docbook.css should be:
>> ---
>> @import url(<XXE_install_dir>/config/docbook/css/docbook.css);
>> ---
>> (Yes, you explicitly need to know where XXE has been installed. 
>> That's why this solution is not clean.)
>
> It would be nice to have an ability write @import 
> url(%XXE_HOME%/config/docbook/css/docbook.css);
> or
> @import url($XXE_HOME/config/docbook/css/docbook.css);
>

In addition, it would be nice to be able to have access to certain base 
URI's throughout
the configuration files.  For example, a lot of my schemas/etc. come 
out of CVS and
I'd love to be able to configure the base URI for where they live so I 
can check in
the configuration to CVS and distributed they to users via CVS.

An alternative to the environment variable above would be to have a 
function-like
syntax similar to XPath:

    @import url(base-uri('xxe-home')/config/docbook/css/docbook.css);

and then somehow keywords would be associated with URI values.

Alex Milowski                FAX: (707) 598-7649                        
  alex at milowski.com

"The excellence of grammar as a guide is proportional to the paucity of 
the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics



Reply via email to