Mercurial > hg > nginx-quic
view docs/xsls/dump.xsls @ 5243:ee739104d164
Status: the "last_in_chain" flag must be set.
The module always produces only one and obviously the last buffer in chain.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Wed, 05 Jun 2013 16:22:40 +0400 |
parents | 2c863b4a8f93 |
children |
line wrap: on
line source
X:stylesheet { X:output method="xml" X:param indent-increment="' '"; X:template noname(indent="'
'") = "*" { !{$indent} X:if "name()='xsl:template'" { !{$indent} } X:copy { X:copy-of "@*" !!( indent = "concat($indent, $indent-increment)" ); X:if "./* " { !{$indent} } } } X:template = "comment()|processing-instruction()" { X:copy; } <!-- X:template ="text()[normalize-space(.)='']" {} --> }