# HG changeset patch # User Ruslan Ermilov # Date 1332866093 0 # Node ID dd9fec875834f95005be05fe60c9e5f76c027fad # Parent dc6b11a3ccdd82f153a50e7942236caa3381deff Documented new directives: xslt_param and xslt_string_param. diff -r dc6b11a3ccdd -r dd9fec875834 xml/en/docs/http/ngx_http_xslt_module.xml --- a/xml/en/docs/http/ngx_http_xslt_module.xml Tue Mar 27 14:30:49 2012 +0000 +++ b/xml/en/docs/http/ngx_http_xslt_module.xml Tue Mar 27 16:34:53 2012 +0000 @@ -66,6 +66,58 @@ + +parameter value + +http +server +location +1.1.18 + + +Defines parameters for XSLT stylesheets. +The value is treated as an XPath expression. +The value can contain variables. +To pass a string value to a stylesheet, +the directive can be used. + + + +There could be several xslt_param directives. +These directives are inherited from the previous level if and +only if there are no +xslt_param and +directives defined on the current level. + + + + + + +parameter value + +http +server +location +1.1.18 + + +Defines string parameters for XSLT stylesheets. +XPath expressions in the value are not interpreted. +The value can contain variables. + + + +There could be several xslt_string_param directives. +These directives are inherited from the previous level if and +only if there are no + and xslt_string_param +directives defined on the current level. + + + + + stylesheet diff -r dc6b11a3ccdd -r dd9fec875834 xml/ru/docs/http/ngx_http_xslt_module.xml --- a/xml/ru/docs/http/ngx_http_xslt_module.xml Tue Mar 27 14:30:49 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_xslt_module.xml Tue Mar 27 16:34:53 2012 +0000 @@ -66,6 +66,56 @@ + +параметр значение + +http +server +location +1.1.18 + + +Задаёт параметры для XSLT-шаблонов. +Значение рассматривается как выражение XPath. +В значении можно использовать переменные. +Если нужно передать в шаблон строковое значение, +можно воспользоваться директивой . + + + +Директив xslt_param может быть несколько. +Директивы наследуются с предыдущего уровня при условии, что на данном +уровне не описаны свои директивы xslt_param и +. + + + + + + +параметр значение + +http +server +location +1.1.18 + + +Задаёт строковые параметры для XSLT-шаблонов. +Выражения XPath в значении параметра не интерпретируются. +В значении можно использовать переменные. + + + +Директив xslt_string_param может быть несколько. +Директивы наследуются с предыдущего уровня при условии, что на данном +уровне не описаны свои директивы и +xslt_string_param. + + + + + шаблон