view docs/xsls/content.xsls @ 4004:84bd993b8cd3

Lower optimization level for Sun Studio before 12.1. At least Sun Studio 12 has problems with bit-fields exposed by nginx code (caught by test suite). They seems to be fixed in Sun Studio 12.1. As a workaround use "-fast -xalias_level=any" for older versions, it resolves the problem.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 18 Aug 2011 15:10:23 +0000
parents fc808f006ff4
children ac19e755a132
line wrap: on
line source

X:stylesheet {

X:template = "section[@name and @title]" {
    <a name="{@name}" /> <center><h4> !{@title} </h4></center>
    !!;
}

X:template = "section[not(@name) and @title]" {
    <center><h4> !{@title} </h4></center>
    !!;
}

X:template = "section[not(@name) and not(@title)]" { !!; }

X:template = "para" { <p> !!; </p> }

X:template = "value" { <i> !!; </i> }

}