comparison xml/en/docs/http/ngx_http_xslt_module.xml @ 463:dd9fec875834

Documented new directives: xslt_param and xslt_string_param.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 27 Mar 2012 16:34:53 +0000
parents e72701967099
children 694db9597ee0
comparison
equal deleted inserted replaced
462:dc6b11a3ccdd 463:dd9fec875834
59 This file should not describe the XML structure, it is 59 This file should not describe the XML structure, it is
60 enough to only declare the required character entities, for example: 60 enough to only declare the required character entities, for example:
61 <example> 61 <example>
62 &lt;!ENTITY nbsp "&amp;#xa0;"&gt; 62 &lt;!ENTITY nbsp "&amp;#xa0;"&gt;
63 </example> 63 </example>
64 </para>
65
66 </directive>
67
68
69 <directive name="xslt_param">
70 <syntax><value>parameter</value> <value>value</value></syntax>
71 <default/>
72 <context>http</context>
73 <context>server</context>
74 <context>location</context>
75 <appeared-in>1.1.18</appeared-in>
76
77 <para>
78 Defines parameters for XSLT stylesheets.
79 The <value>value</value> is treated as an XPath expression.
80 The <value>value</value> can contain variables.
81 To pass a string value to a stylesheet,
82 the <link id="xslt_string_param"/> directive can be used.
83 </para>
84
85 <para>
86 There could be several <literal>xslt_param</literal> directives.
87 These directives are inherited from the previous level if and
88 only if there are no
89 <literal>xslt_param</literal> and <link id="xslt_string_param"/>
90 directives defined on the current level.
91 </para>
92
93 </directive>
94
95
96 <directive name="xslt_string_param">
97 <syntax><value>parameter</value> <value>value</value></syntax>
98 <default/>
99 <context>http</context>
100 <context>server</context>
101 <context>location</context>
102 <appeared-in>1.1.18</appeared-in>
103
104 <para>
105 Defines string parameters for XSLT stylesheets.
106 XPath expressions in the <value>value</value> are not interpreted.
107 The <value>value</value> can contain variables.
108 </para>
109
110 <para>
111 There could be several <literal>xslt_string_param</literal> directives.
112 These directives are inherited from the previous level if and
113 only if there are no
114 <link id="xslt_param"/> and <literal>xslt_string_param</literal>
115 directives defined on the current level.
64 </para> 116 </para>
65 117
66 </directive> 118 </directive>
67 119
68 120