pyxsldoc/xsl
Stylesheet doc.xsl
pyxsldoc/xsl/doc.xsl
- Stylesheet
doc.xsl
XSLT version 1.0
imports util.xsl
depth - default value: 0
|
depth of $path
|
path - default value: '.'
|
path to stylesheet
|
givenAttribute-sets = /stylesheet/attribute-set
|
used to determine the right position in the ordered summary lists
|
givenDecimal-format = /stylesheet/decimal-format
|
used to determine the right position in the ordered summary lists
|
givenKeys = /stylesheet/key
|
used to determine the right position in the ordered summary lists
|
givenParams = /stylesheet/param
|
used to determine the right position in the ordered summary lists
|
givenTemplates = /stylesheet/template
|
used to determine the right position in the ordered summary lists
|
givenVars = /stylesheet/variable
|
used to determine the right position in the ordered summary lists
|
/stylesheet
|
start template
|
@mode | @priority
|
|
@mode | @priority
mode="detail"
|
|
attribute
mode="detail"
|
attribute detail
|
attribute-set
mode="detail"
|
attribute-set detail
|
attribute-set
mode="summary"
|
attribute-set summary alphabetically sorted
|
author
|
|
called_by
|
DZE added start
|
decimal-format
mode="detail"
|
decimal-format detail
|
decimal-format
mode="summary"
|
decimal-format summary alphabetically sorted
|
deprecated
|
|
description
|
|
detail
|
|
import | include
|
no link will be generated as it may be not crossprocessor compatible and indeed is not for pyXSLdoc itself
|
key
mode="detail"
|
key detail
|
key
mode="summary"
|
key summary alphabetically sorted
|
namespace-alias
|
process preserve-space
|
output
|
process output
|
param
|
for params in javadoc style, not used anymore as the normal param template is used now
|
param
mode="detail"
|
param detail
both top level param elements and params of templates
|
param
mode="named"
|
|
param
mode="summary"
|
param summary alphabetically sorted
|
preserve-space
|
process preserve-space
|
print_comment(text)
|
recursive template to print HTML
|
printcomment()
|
processes the actual comment template with optional javadoc style elements return, author etc
|
rawhtml
|
|
return
|
|
see
|
|
shortcomment()
|
comments in summary tables
|
shortcomment
|
|
since
|
|
strip-space
|
process strip-space
|
template[@match and @name]
mode="detail"
|
match and named template detail
|
template[@match]
mode="detail"
|
match template detail
|
template[@match]
mode="summary"
|
template summary alphabetically sorted
|
template[@name and @match]
mode="summary"
|
match and named template summary alphabetically sorted
|
template[@name]
mode="detail"
|
named template detail
|
template[@name]
mode="summary"
|
named template summary alphabetically sorted
|
text()
|
HTML support in comments
|
variable
mode="detail"
|
variable detail
|
variable
mode="summary"
|
variable summary alphabetically sorted
|
version
|
Param Detail
path
default value:
'.'
path to stylesheet
depth
default value:
0
depth of $path
Variable Detail
givenTemplates
givenTemplates
=
/stylesheet/template
used to determine the right position in the ordered summary lists
givenVars
givenVars
=
/stylesheet/variable
used to determine the right position in the ordered summary lists
givenParams
givenParams
=
/stylesheet/param
used to determine the right position in the ordered summary lists
givenDecimal-format
givenDecimal-format
=
/stylesheet/decimal-format
used to determine the right position in the ordered summary lists
givenKeys
givenKeys
=
/stylesheet/key
used to determine the right position in the ordered summary lists
givenAttribute-sets
givenAttribute-sets
=
/stylesheet/attribute-set
used to determine the right position in the ordered summary lists
Template Detail
/stylesheet
matches: "/stylesheet"
start template
output
matches: "output"
process output
namespace-alias
matches: "namespace-alias"
process preserve-space
strip-space
matches: "strip-space"
process strip-space
preserve-space
matches: "preserve-space"
process preserve-space
import | include
matches: "import | include"
no link will be generated as it may be not crossprocessor compatible and indeed is not for pyXSLdoc itself
param
matches: "param"
mode: "summary"
param summary alphabetically sorted
variable
matches: "variable"
mode: "summary"
variable summary alphabetically sorted
decimal-format
matches: "decimal-format"
mode: "summary"
decimal-format summary alphabetically sorted
key
matches: "key"
mode: "summary"
key summary alphabetically sorted
attribute-set
matches: "attribute-set"
mode: "summary"
attribute-set summary alphabetically sorted
template[@match]
matches: "template[@match]"
mode: "summary"
template summary alphabetically sorted
template[@name]
matches: "template[@name]"
mode: "summary"
named template summary alphabetically sorted
template[@name and @match]
matches: "template[@name and @match]"
mode: "summary"
match and named template summary alphabetically sorted
param
matches: "param"
mode: "detail"
param detail both top level param elements and params of templates
variable
matches: "variable"
mode: "detail"
variable detail
decimal-format
matches: "decimal-format"
mode: "detail"
decimal-format detail
key
matches: "key"
mode: "detail"
key detail
attribute-set
matches: "attribute-set"
mode: "detail"
attribute-set detail
attribute
matches: "attribute"
mode: "detail"
attribute detail
template[@match]
matches: "template[@match]"
mode: "detail"
match template detail
template[@name]
matches: "template[@name]"
mode: "detail"
named template detail
template[@match and @name]
matches: "template[@match and @name]"
mode: "detail"
match and named template detail
param
matches: "param"
mode: "named"
@mode | @priority
matches: "@mode | @priority"
@mode | @priority
matches: "@mode | @priority"
mode: "detail"
shortcomment()
name: "shortcomment"
comments in summary tables
printcomment()
name: "printcomment"
processes the actual comment template with optional javadoc style elements return, author etc
rawhtml
matches: "rawhtml"
shortcomment
matches: "shortcomment"
description
matches: "description"
deprecated
matches: "deprecated"
param
matches: "param"
for params in javadoc style, not used anymore as the normal param template is used now
return
matches: "return"
author
matches: "author"
since
matches: "since"
version
matches: "version"
see
matches: "see"
called_by
matches: "called_by"
DZE added start
detail
matches: "detail"
text()
matches: "text()"
HTML support in comments
author: | Doron Enav |
---|---|
since: | 0.34 |
print_comment(text)
name: "print_comment"
recursive template to print HTML
HTML elements allowed in comments (for Javadoc style comments only!):
- <br>
- <i>
- <b>
- <p>
- <ul>
- <ol>
- <li>
- (non breaking space entity)
author: | Doron Enav |
---|---|
since: | 0.34 |
parameters
-
text
renders one stylesheet page