X:stylesheet { X:template = "directive" {
!! "syntax"; !! "default"; !! "context"; X:if "(@appeared-in)" { appeared in version: !{@appeared-in} } !! "para"; } X:template = "syntax" { X:if "position() = 1" { syntax: } else {         } !!;
} X:template = "default" { default: X:if "count(text()) = 0" { none } else { !!; }
} X:template = "context" { X:if "position() = 1" { context: } X:if "count(text()) = 0" { any } else { !!; } X:if "position() != last()" { X:text{, } } else {
} } }