What I would like to be able to do is extend previously existing XXE
stylesheets using new stylesheets without having to copy the stylesheets
to be extended[0] into a known location.  I currently have an extension
to the DocBook DTD (for Norman Walsh's literate programming information
set), and in order to style it I have copied the XXE-distributed
stylesheets into a user configuration directory, from which I can create
a separate stylesheet which imports these to extend them.  I don't know
if this would be possible, but it would be nice to have a configuration
item which would enable you to apply a given stylesheet after other
stylesheets have been applied.  Perhaps the following would work:

    <mergecss
        with = name of previously existing stylesheet
        location = anyURI, pointing to the additional stylesheet
        system = boolean : false, having the same semantics as 
                                  the same attribute on the include
                                  configuration item
    />

Thoughts?  Is there a better way to achieve what I'm trying to
accomplish?  I can't think of any way that user configuration
stylesheets can a priori know what the filenames of system stylesheets
might be.

Take care,

    John L. Clark

[0] With respect to the stylesheets (and other configuration files)
distributed with XXE, what are our (that is, XXE users') rights?  I
wasn't really clear on how the license provided with XXE applies to
these "exists-as-source" items, such as the CSS files for the DocBook
configuration.  For example, can I copy them (as above) in order to
extend them?  Can I modify them directly?  Can I distribute
modifications, or patches?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20031119/963d5c6b/attachment.sig
 

Reply via email to