You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2004/07/20 17:38:08 UTC

DO NOT REPLY [Bug 30211] New: - Introduce publication-specific CSS path in lenya/xslt/bxeng/index-xhtml.xsl

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30211>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30211

Introduce publication-specific CSS path in lenya/xslt/bxeng/index-xhtml.xsl

           Summary: Introduce publication-specific CSS path in
                    lenya/xslt/bxeng/index-xhtml.xsl
           Product: Lenya
           Version: 1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Bitflux Integration
        AssignedTo: gregor@apache.org
        ReportedBy: registrations2004@jandermail.de
                CC: lenya-dev@cocoon.apache.org


The publication-specific usecase-bxeng.xmap creates a pipeline to show the BXE
by calling lenya/xslt/bxeng/index-xhtml.xsl which (among others) defines the
<head> section. 

Inside the <head> section, a css-link is generated by  <xsl:attribute
name="href"><xsl:value-of
select="$context"/>/bxeng/css/editor.css</xsl:attribute>  which points to a
global editor.css. 

usecase-bxeng.xmap provides a variable $publicationid which is not used in
xhtml-index.xsl. By evaluating this variable, index-xhtml.xsl could point the
CSS-link to a publication specific style sheet, like:  <xsl:attribute
name="href"><xsl:value-of select="$context"/>/<xsl:value-of
select="$publicationid"/>/bxeng/css/editor.css</xsl:attribute> or link to a
global and a publication-specific CSS.

Advantages:
Publications that make use of CSS2 to define placement and design of their pages
are likely to conflict with the editor.css by z-indexing and/or positioning. A
publications-specific editor.css would be a natural way to solve those conflics.

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org