5 | | * XML technology (available as a web archive file "mpiwg-mpdl-xml.war") |
6 | | |
7 | | The other MPDL backend software which needs the functionality of eXist and Lucene (XML document storage and retrieval) is redesigned so that all important functions are available as HTTP servlets with a specified API. |
| 6 | * CMS technology (available as a web archive file "mpiwg-mpdl-cms.war") |
| 7 | |
| 8 | == XML technology == |
| 9 | |
| 10 | The XML technology web archive ""mpiwg-mpdl-xml.war"" consists of: |
| 11 | * Java code: mpiwg-mpdl-xml.jar |
| 12 | * external Java libraries: saxon9-s9api.jar, ... |
| 13 | * web application configuration file: web.xml |
| 14 | |
| 15 | Following HTTP servlets are available: |
| 16 | |
| 17 | === XSL transformation === |
| 18 | |
| 19 | * !TransformServlet |
| 20 | * URL: /mpdl/transform |
| 21 | * Request parameters: |
| 22 | * srcUrl |
| 23 | * source URL of XML document |
| 24 | * xslUrl |
| 25 | * URL of XSL document |
| 26 | * parameters (optional) |
| 27 | * list of parameters, e.g. "yourParam1=val1 yourParam2=val2" |
| 28 | * outputProperties (optional) |
| 29 | * list of output properties, e.g. "method=xhtml indent=no" |
| 30 | * Response output: |
| 31 | * transformed document (HTML, XML, etc.) |
| 32 | |
| 33 | * !GetFragmentServlet |
| 34 | * URL: /mpdl/getFragment |
| 35 | * Request parameters: |
| 36 | * srcUrl |
| 37 | * source URL of XML document |
| 38 | * ms1Name |
| 39 | * first milestone name, e.g. "pb" |
| 40 | * ms1Position |
| 41 | * first milestone position, e.g. 1 |
| 42 | * ms2Name |
| 43 | * second milestone name, e.g. "pb" |
| 44 | * ms2Position |
| 45 | * second milestone position, e.g. 2 |
| 46 | * Response output: |
| 47 | * XML fragment |
| 48 | |
| 49 | === PDF rendering === |
| 50 | |
| 51 | * !RenderServlet |
| 52 | * URL: /mpdl/render |
| 53 | * Request parameters: |
| 54 | * srcUrl |
| 55 | * source URL of XML document |
| 56 | * xslUrl |
| 57 | * URL of XSL document |
| 58 | * parameters (optional) |
| 59 | * list of parameters, e.g. "yourParam1=val1 yourParam2=val2" |
| 60 | * Response output: |
| 61 | * rendered document (PDF) |
| 62 | |
| 63 | === XPath/XQuery === |
| 64 | |
| 65 | * !XPathServlet |
| 66 | * URL: /mpdl/xpath |
| 67 | * Request parameters: |
| 68 | * srcUrl |
| 69 | * source URL of XML document |
| 70 | * xpath |
| 71 | * xpath source code |
| 72 | * Response output: |
| 73 | * XPath result for that document |
| 74 | |
| 75 | * !XQueryServlet |
| 76 | * URL: /mpdl/xquery |
| 77 | * Request parameters: |
| 78 | * srcUrl |
| 79 | * source URL of XML document |
| 80 | * xquery |
| 81 | * xquery source code |
| 82 | * Response output: |
| 83 | * XQuery result for that document |
13 | 89 | * morphology data (Perseus, CELEX, Lexique with languages: ara, eng, fre, ger, gre, ita, lat, nld, zho) |
14 | 90 | * dictionary data (dictionaries: autenrieth, baretti, bonitz, cooper, florio, lewis-short, lidell-scott-jones, salmone, webster) |
140 | | |
141 | | === XSL transformation === |
142 | | |
143 | | * !TransformServlet |
144 | | * URL: /mpdl/transform |
145 | | * Request parameters: |
146 | | * srcUrl |
147 | | * source URL of XML document |
148 | | * xslUrl |
149 | | * URL of XSL document |
150 | | * parameters (optional) |
151 | | * list of parameters, e.g. "yourParam1=val1 yourParam2=val2" |
152 | | * outputProperties (optional) |
153 | | * list of output properties, e.g. "method=xhtml indent=no" |
154 | | * Response output: |
155 | | * transformed document (HTML, XML, etc.) |
156 | | |
157 | | * !GetFragmentServlet |
158 | | * URL: /mpdl/getFragment |
159 | | * Request parameters: |
160 | | * srcUrl |
161 | | * source URL of XML document |
162 | | * ms1Name |
163 | | * first milestone name, e.g. "pb" |
164 | | * ms1Position |
165 | | * first milestone position, e.g. 1 |
166 | | * ms2Name |
167 | | * second milestone name, e.g. "pb" |
168 | | * ms2Position |
169 | | * second milestone position, e.g. 2 |
170 | | * Response output: |
171 | | * XML fragment |
172 | | |
173 | | === PDF rendering === |
174 | | |
175 | | * !RenderServlet |
176 | | * URL: /mpdl/render |
177 | | * Request parameters: |
178 | | * srcUrl |
179 | | * source URL of XML document |
180 | | * xslUrl |
181 | | * URL of XSL document |
182 | | * parameters (optional) |
183 | | * list of parameters, e.g. "yourParam1=val1 yourParam2=val2" |
184 | | * Response output: |
185 | | * rendered document (PDF) |
186 | | |
187 | | === XPath/XQuery === |
188 | | |
189 | | * !XPathServlet |
190 | | * URL: /mpdl/xpath |
191 | | * Request parameters: |
192 | | * srcUrl |
193 | | * source URL of XML document |
194 | | * xpath |
195 | | * xpath source code |
196 | | * Response output: |
197 | | * XPath result for that document |
198 | | |
199 | | * !XQueryServlet |
200 | | * URL: /mpdl/xquery |
201 | | * Request parameters: |
202 | | * srcUrl |
203 | | * source URL of XML document |
204 | | * xquery |
205 | | * xquery source code |
206 | | * Response output: |
207 | | * XQuery result for that document |
208 | | |
209 | | == XML document storage and retrieval == |