rolled back to 2.9.2 because 2.9.4 doesn't work with XML validator
[platform/upstream/libxml2.git] / os400 / libxmlrpg / xmlwriter.rpgle
1       * Summary: text writing API for XML
2       * Description: text writing API for XML
3       *
4       * Copy: See Copyright for the status of this software.
5       *
6       * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
7
8       /if not defined(XML_XMLWRITER_H__)
9       /define XML_XMLWRITER_H__
10
11       /include "libxmlrpg/xmlversion"
12
13       /if defined(LIBXML_WRITER_ENABLED)
14
15       /include "libxmlrpg/xmlstdarg"
16       /include "libxmlrpg/xmlIO"
17       /include "libxmlrpg/list"
18       /include "libxmlrpg/xmlstring"
19
20      d xmlTextWriterPtr...
21      d                 s               *   based(######typedef######)
22
23       * Constructors & Destructor
24
25      d xmlNewTextWriter...
26      d                 pr                  extproc('xmlNewTextWriter')
27      d                                     like(xmlTextWriterPtr)
28      d  out                                value like(xmlOutputBufferPtr)
29
30      d xmlNewTextWriterFilename...
31      d                 pr                  extproc('xmlNewTextWriterFilename')
32      d                                     like(xmlTextWriterPtr)
33      d  uri                            *   value options(*string)               const char *
34      d  compression                  10i 0 value
35
36      d xmlNewTextWriterMemory...
37      d                 pr                  extproc('xmlNewTextWriterMemory')
38      d                                     like(xmlTextWriterPtr)
39      d  buf                                value like(xmlBufferPtr)
40      d  compression                  10i 0 value
41
42      d xmlNewTextWriterPushParser...
43      d                 pr                  extproc('xmlNewTextWriterPushParser')
44      d                                     like(xmlTextWriterPtr)
45      d  ctxt                               value like(xmlParserCtxtPtr)
46      d  compression                  10i 0 value
47
48      d xmlNewTextWriterDoc...
49      d                 pr                  extproc('xmlNewTextWriterDoc')
50      d                                     like(xmlTextWriterPtr)
51      d  doc                                like(xmlDocPtr)
52      d  compression                  10i 0 value
53
54      d xmlNewTextWriterTree...
55      d                 pr                  extproc('xmlNewTextWriterTree')
56      d                                     like(xmlTextWriterPtr)
57      d  doc                                value like(xmlDocPtr)
58      d  node                               value like(xmlNodePtr)
59      d  compression                  10i 0 value
60
61      d xmlFreeTextWriter...
62      d                 pr                  extproc('xmlFreeTextWriter')
63      d  writer                             value like(xmlTextWriterPtr)
64
65       * Functions
66
67       * Document
68
69      d xmlTextWriterStartDocument...
70      d                 pr            10i 0 extproc('xmlTextWriterStartDocument')
71      d  writer                             value like(xmlTextWriterPtr)
72      d  version                        *   value options(*string)               const char *
73      d  encoding                       *   value options(*string)               const char *
74      d  standalone                     *   value options(*string)               const char *
75
76      d xmlTextWriterEndDocument...
77      d                 pr            10i 0 extproc('xmlTextWriterEndDocument')
78      d  writer                             value like(xmlTextWriterPtr)
79
80       * Comments
81
82      d xmlTextWriterStartComment...
83      d                 pr            10i 0 extproc('xmlTextWriterStartComment')
84      d  writer                             value like(xmlTextWriterPtr)
85
86      d xmlTextWriterEndComment...
87      d                 pr            10i 0 extproc('xmlTextWriterEndComment')
88      d  writer                             value like(xmlTextWriterPtr)
89
90      d xmlTextWriterWriteFormatComment...
91      d                 pr            10i 0 extproc(
92      d                                     'xmlTextWriterWriteFormatComment')
93      d  writer                             value like(xmlTextWriterPtr)
94      d  format                         *   value options(*string: *nopass)      const char *
95      d  #vararg1                       *   value options(*string: *nopass)      void *
96      d  #vararg2                       *   value options(*string: *nopass)      void *
97      d  #vararg3                       *   value options(*string: *nopass)      void *
98      d  #vararg4                       *   value options(*string: *nopass)      void *
99      d  #vararg5                       *   value options(*string: *nopass)      void *
100      d  #vararg6                       *   value options(*string: *nopass)      void *
101      d  #vararg7                       *   value options(*string: *nopass)      void *
102      d  #vararg8                       *   value options(*string: *nopass)      void *
103
104      d xmlTextWriterWriteVFormatComment...
105      d                 pr            10i 0 extproc(
106      d                                     'xmlTextWriterWriteVFormatComment')
107      d  writer                             value like(xmlTextWriterPtr)
108      d  format                         *   value options(*string)               const char *
109      d  argptr                             likeds(xmlVaList)
110
111      d xmlTextWriterWriteComment...
112      d                 pr            10i 0 extproc('xmlTextWriterWriteComment')
113      d  writer                             value like(xmlTextWriterPtr)
114      d  content                        *   value options(*string)               const xmlChar *
115
116       * Elements
117
118      d xmlTextWriterStartElement...
119      d                 pr            10i 0 extproc('xmlTextWriterStartElement')
120      d  writer                             value like(xmlTextWriterPtr)
121      d  name                           *   value options(*string)               const xmlChar *
122
123      d xmlTextWriterStartElementNS...
124      d                 pr            10i 0 extproc(
125      d                                     'xmlTextWriterStartElementNS')
126      d  writer                             value like(xmlTextWriterPtr)
127      d  prefix                         *   value options(*string)               const xmlChar *
128      d  name                           *   value options(*string)               const xmlChar *
129      d  namespaceURI                   *   value options(*string)               const xmlChar *
130
131      d xmlTextWriterEndElement...
132      d                 pr            10i 0 extproc('xmlTextWriterEndElement')
133      d  writer                             value like(xmlTextWriterPtr)
134
135      d xmlTextWriterFullEndElement...
136      d                 pr            10i 0 extproc(
137      d                                     'xmlTextWriterFullEndElement')
138      d  writer                             value like(xmlTextWriterPtr)
139
140       * Elements conveniency functions
141
142      d xmlTextWriterWriteFormatElement...
143      d                 pr            10i 0 extproc(
144      d                                     'xmlTextWriterWriteFormatElement')
145      d  writer                             value like(xmlTextWriterPtr)
146      d  name                           *   value options(*string)               const xmlChar *
147      d  format                         *   value options(*string)               const char *
148      d  #vararg1                       *   value options(*string: *nopass)      void *
149      d  #vararg2                       *   value options(*string: *nopass)      void *
150      d  #vararg3                       *   value options(*string: *nopass)      void *
151      d  #vararg4                       *   value options(*string: *nopass)      void *
152      d  #vararg5                       *   value options(*string: *nopass)      void *
153      d  #vararg6                       *   value options(*string: *nopass)      void *
154      d  #vararg7                       *   value options(*string: *nopass)      void *
155      d  #vararg8                       *   value options(*string: *nopass)      void *
156
157      d xmlTextWriterWriteVFormatElement...
158      d                 pr            10i 0 extproc(
159      d                                     'xmlTextWriterWriteVFormatElement')
160      d  writer                             value like(xmlTextWriterPtr)
161      d  name                           *   value options(*string)               const xmlChar *
162      d  format                         *   value options(*string)               const char *
163      d  argptr                             likeds(xmlVaList)
164
165      d xmlTextWriterWriteElement...
166      d                 pr            10i 0 extproc('xmlTextWriterWriteElement')
167      d  writer                             value like(xmlTextWriterPtr)
168      d  name                           *   value options(*string)               const xmlChar *
169      d  content                        *   value options(*string)               const xmlChar *
170
171      d xmlTextWriterWriteFormatElementNS...
172      d                 pr            10i 0 extproc(
173      d                                     'xmlTextWriterWriteFormatElementNS')
174      d  writer                             value like(xmlTextWriterPtr)
175      d  prefix                         *   value options(*string)               const xmlChar *
176      d  name                           *   value options(*string)               const xmlChar *
177      d  namespaceURI                   *   value options(*string)               const xmlChar *
178      d  format                         *   value options(*string)               const char *
179      d  #vararg1                       *   value options(*string: *nopass)      void *
180      d  #vararg2                       *   value options(*string: *nopass)      void *
181      d  #vararg3                       *   value options(*string: *nopass)      void *
182      d  #vararg4                       *   value options(*string: *nopass)      void *
183      d  #vararg5                       *   value options(*string: *nopass)      void *
184      d  #vararg6                       *   value options(*string: *nopass)      void *
185      d  #vararg7                       *   value options(*string: *nopass)      void *
186      d  #vararg8                       *   value options(*string: *nopass)      void *
187
188      d xmlTextWriterWriteVFormatElementNS...
189      d                 pr            10i 0 extproc(
190      d                                     'xmlTextWriterWriteVFormatElementNS')
191      d  writer                             value like(xmlTextWriterPtr)
192      d  prefix                         *   value options(*string)               const xmlChar *
193      d  name                           *   value options(*string)               const xmlChar *
194      d  namespaceURI                   *   value options(*string)               const xmlChar *
195      d  format                         *   value options(*string)               const char *
196      d  argptr                             likeds(xmlVaList)
197
198      d xmlTextWriterWriteElementNS...
199      d                 pr            10i 0 extproc(
200      d                                     'xmlTextWriterWriteElementNS')
201      d  writer                             value like(xmlTextWriterPtr)
202      d  prefix                         *   value options(*string)               const xmlChar *
203      d  name                           *   value options(*string)               const xmlChar *
204      d  namespaceURI                   *   value options(*string)               const xmlChar *
205      d  content                        *   value options(*string)               const xmlChar *
206
207       * Text
208
209      d xmlTextWriterWriteFormatRaw...
210      d                 pr            10i 0 extproc(
211      d                                     'xmlTextWriterWriteFormatRaw')
212      d  writer                             value like(xmlTextWriterPtr)
213      d  format                         *   value options(*string)               const char *
214      d  #vararg1                       *   value options(*string: *nopass)      void *
215      d  #vararg2                       *   value options(*string: *nopass)      void *
216      d  #vararg3                       *   value options(*string: *nopass)      void *
217      d  #vararg4                       *   value options(*string: *nopass)      void *
218      d  #vararg5                       *   value options(*string: *nopass)      void *
219      d  #vararg6                       *   value options(*string: *nopass)      void *
220      d  #vararg7                       *   value options(*string: *nopass)      void *
221      d  #vararg8                       *   value options(*string: *nopass)      void *
222
223      d xmlTextWriterWriteVFormatRaw...
224      d                 pr            10i 0 extproc(
225      d                                     'xmlTextWriterWriteVFormatRaw')
226      d  writer                             value like(xmlTextWriterPtr)
227      d  format                         *   value options(*string)               const char *
228      d  argptr                             likeds(xmlVaList)
229
230      d xmlTextWriterWriteRawLen...
231      d                 pr            10i 0 extproc('xmlTextWriterWriteRawLen')
232      d  writer                             value like(xmlTextWriterPtr)
233      d  content                        *   value options(*string)               const xmlChar *
234      d  len                          10i 0 value
235
236      d xmlTextWriterWriteRaw...
237      d                 pr            10i 0 extproc('xmlTextWriterWriteRaw')
238      d  writer                             value like(xmlTextWriterPtr)
239      d  content                        *   value options(*string)               const xmlChar *
240
241      d xmlTextWriterWriteFormatString...
242      d                 pr            10i 0 extproc(
243      d                                     'xmlTextWriterWriteFormatString')
244      d  writer                             value like(xmlTextWriterPtr)
245      d  format                         *   value options(*string)               const char *
246      d  #vararg1                       *   value options(*string: *nopass)      void *
247      d  #vararg2                       *   value options(*string: *nopass)      void *
248      d  #vararg3                       *   value options(*string: *nopass)      void *
249      d  #vararg4                       *   value options(*string: *nopass)      void *
250      d  #vararg5                       *   value options(*string: *nopass)      void *
251      d  #vararg6                       *   value options(*string: *nopass)      void *
252      d  #vararg7                       *   value options(*string: *nopass)      void *
253      d  #vararg8                       *   value options(*string: *nopass)      void *
254
255      d xmlTextWriterWriteVFormatString...
256      d                 pr            10i 0 extproc(
257      d                                     'xmlTextWriterWriteVFormatString')
258      d  writer                             value like(xmlTextWriterPtr)
259      d  format                         *   value options(*string)               const char *
260      d  argptr                             likeds(xmlVaList)
261
262      d xmlTextWriterWriteString...
263      d                 pr            10i 0 extproc('xmlTextWriterWriteString')
264      d  writer                             value like(xmlTextWriterPtr)
265      d  content                        *   value options(*string)               const xmlChar *
266
267      d xmlTextWriterWriteBase64...
268      d                 pr            10i 0 extproc('xmlTextWriterWriteBase64')
269      d  writer                             value like(xmlTextWriterPtr)
270      d  data                           *   value options(*string)               const char *
271      d  start                        10i 0 value
272      d  len                          10i 0 value
273
274      d xmlTextWriterWriteBinHex...
275      d                 pr            10i 0 extproc('xmlTextWriterWriteBinHex')
276      d  writer                             value like(xmlTextWriterPtr)
277      d  data                           *   value options(*string)               const char *
278      d  start                        10i 0 value
279      d  len                          10i 0 value
280
281       * Attributes
282
283      d xmlTextWriterStartAttribute...
284      d                 pr            10i 0 extproc(
285      d                                     'xmlTextWriterStartAttribute')
286      d  writer                             value like(xmlTextWriterPtr)
287      d  name                           *   value options(*string)               const xmlChar *
288
289      d xmlTextWriterStartAttributeNS...
290      d                 pr            10i 0 extproc(
291      d                                     'xmlTextWriterStartAttributeNS')
292      d  writer                             value like(xmlTextWriterPtr)
293      d  prefix                         *   value options(*string)               const xmlChar *
294      d  name                           *   value options(*string)               const xmlChar *
295      d  namespaceURI                   *   value options(*string)               const xmlChar *
296
297      d xmlTextWriterEndAttribute...
298      d                 pr            10i 0 extproc('xmlTextWriterEndAttribute')
299      d  writer                             value like(xmlTextWriterPtr)
300
301       * Attributes conveniency functions
302
303      d xmlTextWriterWriteFormatAttribute...
304      d                 pr            10i 0 extproc(
305      d                                     'xmlTextWriterWriteFormatAttribute')
306      d  writer                             value like(xmlTextWriterPtr)
307      d  name                           *   value options(*string)               const xmlChar *
308      d  format                         *   value options(*string)               const char *
309      d  #vararg1                       *   value options(*string: *nopass)      void *
310      d  #vararg2                       *   value options(*string: *nopass)      void *
311      d  #vararg3                       *   value options(*string: *nopass)      void *
312      d  #vararg4                       *   value options(*string: *nopass)      void *
313      d  #vararg5                       *   value options(*string: *nopass)      void *
314      d  #vararg6                       *   value options(*string: *nopass)      void *
315      d  #vararg7                       *   value options(*string: *nopass)      void *
316      d  #vararg8                       *   value options(*string: *nopass)      void *
317
318      d xmlTextWriterWriteVFormatAttribute...
319      d                 pr            10i 0 extproc(
320      d                                     'xmlTextWriterWriteVFormatAttribute')
321      d  writer                             value like(xmlTextWriterPtr)
322      d  name                           *   value options(*string)               const xmlChar *
323      d  format                         *   value options(*string)               const char *
324      d  argptr                             likeds(xmlVaList)
325
326      d xmlTextWriterWriteAttribute...
327      d                 pr            10i 0 extproc(
328      d                                     'xmlTextWriterWriteAttribute')
329      d  writer                             value like(xmlTextWriterPtr)
330      d  name                           *   value options(*string)               const xmlChar *
331      d  content                        *   value options(*string)               const xmlChar *
332
333      d xmlTextWriterWriteFormatAttributeNS...
334      d                 pr            10i 0 extproc(
335      d                                     'xmlTextWriterWriteFormatAttributeNS'
336      d                                     )
337      d  writer                             value like(xmlTextWriterPtr)
338      d  prefix                         *   value options(*string)               const xmlChar *
339      d  name                           *   value options(*string)               const xmlChar *
340      d  namespaceURI                   *   value options(*string)               const xmlChar *
341      d  format                         *   value options(*string)               const char *
342      d  #vararg1                       *   value options(*string: *nopass)      void *
343      d  #vararg2                       *   value options(*string: *nopass)      void *
344      d  #vararg3                       *   value options(*string: *nopass)      void *
345      d  #vararg4                       *   value options(*string: *nopass)      void *
346      d  #vararg5                       *   value options(*string: *nopass)      void *
347      d  #vararg6                       *   value options(*string: *nopass)      void *
348      d  #vararg7                       *   value options(*string: *nopass)      void *
349      d  #vararg8                       *   value options(*string: *nopass)      void *
350
351      d xmlTextWriterWriteVFormatAttributeNS...
352      d                 pr            10i 0 extproc('xmlTextWriterWriteVFormatAt-
353      d                                     tributeNS')
354      d  writer                             value like(xmlTextWriterPtr)
355      d  prefix                         *   value options(*string)               const xmlChar *
356      d  name                           *   value options(*string)               const xmlChar *
357      d  namespaceURI                   *   value options(*string)               const xmlChar *
358      d  format                         *   value options(*string)               const char *
359      d  argptr                             likeds(xmlVaList)
360
361      d xmlTextWriterWriteAttributeNS...
362      d                 pr            10i 0 extproc(
363      d                                     'xmlTextWriterWriteAttributeNS')
364      d  writer                             value like(xmlTextWriterPtr)
365      d  prefix                         *   value options(*string)               const xmlChar *
366      d  name                           *   value options(*string)               const xmlChar *
367      d  namespaceURI                   *   value options(*string)               const xmlChar *
368      d  content                        *   value options(*string)               const xmlChar *
369
370       * PI's
371
372      d xmlTextWriterStartPI...
373      d                 pr            10i 0 extproc('xmlTextWriterStartPI')
374      d  writer                             value like(xmlTextWriterPtr)
375      d  target                         *   value options(*string)               const xmlChar *
376
377      d xmlTextWriterEndPI...
378      d                 pr            10i 0 extproc('xmlTextWriterEndPI')
379      d  writer                             value like(xmlTextWriterPtr)
380
381       * PI conveniency functions
382
383      d xmlTextWriterWriteFormatPI...
384      d                 pr            10i 0 extproc('xmlTextWriterWriteFormatPI')
385      d  writer                             value like(xmlTextWriterPtr)
386      d  target                         *   value options(*string)               const xmlChar *
387      d  format                         *   value options(*string)               const char *
388      d  #vararg1                       *   value options(*string: *nopass)      void *
389      d  #vararg2                       *   value options(*string: *nopass)      void *
390      d  #vararg3                       *   value options(*string: *nopass)      void *
391      d  #vararg4                       *   value options(*string: *nopass)      void *
392      d  #vararg5                       *   value options(*string: *nopass)      void *
393      d  #vararg6                       *   value options(*string: *nopass)      void *
394      d  #vararg7                       *   value options(*string: *nopass)      void *
395      d  #vararg8                       *   value options(*string: *nopass)      void *
396
397      d xmlTextWriterWriteVFormatPI...
398      d                 pr            10i 0 extproc(
399      d                                     'xmlTextWriterWriteVFormatPI')
400      d  writer                             value like(xmlTextWriterPtr)
401      d  target                         *   value options(*string)               const xmlChar *
402      d  format                         *   value options(*string)               const char *
403      d  argptr                             likeds(xmlVaList)
404
405      d xmlTextWriterWritePI...
406      d                 pr            10i 0 extproc('xmlTextWriterWritePI')
407      d  writer                             value like(xmlTextWriterPtr)
408      d  target                         *   value options(*string)               const xmlChar *
409      d  content                        *   value options(*string)               const xmlChar *
410
411       * xmlTextWriterWriteProcessingInstruction:
412       *
413       * This macro maps to xmlTextWriterWritePI
414
415      d xmlTextWriterWriteProcessingInstruction...
416      d                 pr            10i 0 extproc('xmlTextWriterWritePI')
417      d  writer                             value like(xmlTextWriterPtr)
418      d  target                         *   value options(*string)               const xmlChar *
419      d  content                        *   value options(*string)               const xmlChar *
420
421       * CDATA
422
423      d xmlTextWriterStartCDATA...
424      d                 pr            10i 0 extproc('xmlTextWriterStartCDATA')
425      d  writer                             value like(xmlTextWriterPtr)
426
427      d xmlTextWriterEndCDATA...
428      d                 pr            10i 0 extproc('xmlTextWriterEndCDATA')
429      d  writer                             value like(xmlTextWriterPtr)
430
431       * CDATA conveniency functions
432
433      d xmlTextWriterWriteFormatCDATA...
434      d                 pr            10i 0 extproc(
435      d                                     'xmlTextWriterWriteFormatCDATA')
436      d  writer                             value like(xmlTextWriterPtr)
437      d  format                         *   value options(*string)               const char *
438      d  #vararg1                       *   value options(*string: *nopass)      void *
439      d  #vararg2                       *   value options(*string: *nopass)      void *
440      d  #vararg3                       *   value options(*string: *nopass)      void *
441      d  #vararg4                       *   value options(*string: *nopass)      void *
442      d  #vararg5                       *   value options(*string: *nopass)      void *
443      d  #vararg6                       *   value options(*string: *nopass)      void *
444      d  #vararg7                       *   value options(*string: *nopass)      void *
445      d  #vararg8                       *   value options(*string: *nopass)      void *
446
447      d xmlTextWriterWriteVFormatCDATA...
448      d                 pr            10i 0 extproc(
449      d                                     'xmlTextWriterWriteVFormatCDATA')
450      d  writer                             value like(xmlTextWriterPtr)
451      d  format                         *   value options(*string)               const char *
452      d  argptr                             likeds(xmlVaList)
453
454      d xmlTextWriterWriteCDATA...
455      d                 pr            10i 0 extproc('xmlTextWriterWriteCDATA')
456      d  writer                             value like(xmlTextWriterPtr)
457      d  content                        *   value options(*string)               const xmlChar *
458
459       * DTD
460
461      d xmlTextWriterStartDTD...
462      d                 pr            10i 0 extproc('xmlTextWriterStartDTD')
463      d  writer                             value like(xmlTextWriterPtr)
464      d  name                           *   value options(*string)               const xmlChar *
465      d  pubid                          *   value options(*string)               const xmlChar *
466      d  sysid                          *   value options(*string)               const xmlChar *
467
468      d xmlTextWriterEndDTD...
469      d                 pr            10i 0 extproc('xmlTextWriterEndDTD')
470      d  writer                             value like(xmlTextWriterPtr)
471
472       * DTD conveniency functions
473
474      d xmlTextWriterWriteFormatDTD...
475      d                 pr            10i 0 extproc(
476      d                                     'xmlTextWriterWriteFormatDTD')
477      d  writer                             value like(xmlTextWriterPtr)
478      d  name                           *   value options(*string)               const xmlChar *
479      d  pubid                          *   value options(*string)               const xmlChar *
480      d  sysid                          *   value options(*string)               const xmlChar *
481      d  format                         *   value options(*string)               const char *
482      d  #vararg1                       *   value options(*string: *nopass)      void *
483      d  #vararg2                       *   value options(*string: *nopass)      void *
484      d  #vararg3                       *   value options(*string: *nopass)      void *
485      d  #vararg4                       *   value options(*string: *nopass)      void *
486      d  #vararg5                       *   value options(*string: *nopass)      void *
487      d  #vararg6                       *   value options(*string: *nopass)      void *
488      d  #vararg7                       *   value options(*string: *nopass)      void *
489      d  #vararg8                       *   value options(*string: *nopass)      void *
490
491      d xmlTextWriterWriteVFormatDTD...
492      d                 pr            10i 0 extproc(
493      d                                     'xmlTextWriterWriteVFormatDTD')
494      d  writer                             value like(xmlTextWriterPtr)
495      d  name                           *   value options(*string)               const xmlChar *
496      d  pubid                          *   value options(*string)               const xmlChar *
497      d  sysid                          *   value options(*string)               const xmlChar *
498      d  format                         *   value options(*string)               const char *
499      d  argptr                             likeds(xmlVaList)
500
501      d xmlTextWriterWriteDTD...
502      d                 pr            10i 0 extproc('xmlTextWriterWriteDTD')
503      d  writer                             value like(xmlTextWriterPtr)
504      d  name                           *   value options(*string)               const xmlChar *
505      d  pubid                          *   value options(*string)               const xmlChar *
506      d  sysid                          *   value options(*string)               const xmlChar *
507      d  subset                         *   value options(*string)               const xmlChar *
508
509       * xmlTextWriterWriteDocType:
510       *
511       * this macro maps to xmlTextWriterWriteDTD
512
513      d xmlTextWriterWriteDocType...
514      d                 pr            10i 0 extproc('xmlTextWriterWriteDTD')
515      d  writer                             value like(xmlTextWriterPtr)
516      d  name                           *   value options(*string)               const xmlChar *
517      d  pubid                          *   value options(*string)               const xmlChar *
518      d  sysid                          *   value options(*string)               const xmlChar *
519      d  subset                         *   value options(*string)               const xmlChar *
520
521       * DTD element definition
522
523      d xmlTextWriterStartDTDElement...
524      d                 pr            10i 0 extproc(
525      d                                     'xmlTextWriterStartDTDElement')
526      d  writer                             value like(xmlTextWriterPtr)
527      d  name                           *   value options(*string)               const xmlChar *
528
529      d xmlTextWriterEndDTDElement...
530      d                 pr            10i 0 extproc('xmlTextWriterEndDTDElement')
531      d  writer                             value like(xmlTextWriterPtr)
532
533       * DTD element definition conveniency functions
534
535      d xmlTextWriterWriteFormatDTDElement...
536      d                 pr            10i 0 extproc(
537      d                                     'xmlTextWriterWriteFormatDTDElement')
538      d  writer                             value like(xmlTextWriterPtr)
539      d  name                           *   value options(*string)               const xmlChar *
540      d  format                         *   value options(*string)               const char *
541      d  #vararg1                       *   value options(*string: *nopass)      void *
542      d  #vararg2                       *   value options(*string: *nopass)      void *
543      d  #vararg3                       *   value options(*string: *nopass)      void *
544      d  #vararg4                       *   value options(*string: *nopass)      void *
545      d  #vararg5                       *   value options(*string: *nopass)      void *
546      d  #vararg6                       *   value options(*string: *nopass)      void *
547      d  #vararg7                       *   value options(*string: *nopass)      void *
548      d  #vararg8                       *   value options(*string: *nopass)      void *
549
550      d xmlTextWriterWriteVFormatDTDElement...
551      d                 pr            10i 0 extproc(
552      d                                     'xmlTextWriterWriteVFormatDTDElement'
553      d                                     )
554      d  writer                             value like(xmlTextWriterPtr)
555      d  name                           *   value options(*string)               const xmlChar *
556      d  format                         *   value options(*string)               const char *
557      d  argptr                             likeds(xmlVaList)
558
559      d xmlTextWriterWriteDTDElement...
560      d                 pr            10i 0 extproc(
561      d                                     'xmlTextWriterWriteDTDElement')
562      d  writer                             value like(xmlTextWriterPtr)
563      d  name                           *   value options(*string)               const xmlChar *
564      d  content                        *   value options(*string)               const xmlChar *
565
566       * DTD attribute list definition
567
568      d xmlTextWriterStartDTDAttlist...
569      d                 pr            10i 0 extproc(
570      d                                     'xmlTextWriterStartDTDAttlist')
571      d  writer                             value like(xmlTextWriterPtr)
572      d  name                           *   value options(*string)               const xmlChar *
573
574      d xmlTextWriterEndDTDAttlist...
575      d                 pr            10i 0 extproc('xmlTextWriterEndDTDAttlist')
576      d  writer                             value like(xmlTextWriterPtr)
577
578       * DTD attribute list definition conveniency functions
579
580      d xmlTextWriterWriteFormatDTDAttlist...
581      d                 pr            10i 0 extproc(
582      d                                     'xmlTextWriterWriteFormatDTDAttlist')
583      d  writer                             value like(xmlTextWriterPtr)
584      d  name                           *   value options(*string)               const xmlChar *
585      d  format                         *   value options(*string)               const char *
586      d  #vararg1                       *   value options(*string: *nopass)      void *
587      d  #vararg2                       *   value options(*string: *nopass)      void *
588      d  #vararg3                       *   value options(*string: *nopass)      void *
589      d  #vararg4                       *   value options(*string: *nopass)      void *
590      d  #vararg5                       *   value options(*string: *nopass)      void *
591      d  #vararg6                       *   value options(*string: *nopass)      void *
592      d  #vararg7                       *   value options(*string: *nopass)      void *
593      d  #vararg8                       *   value options(*string: *nopass)      void *
594
595      d xmlTextWriterWriteVFormatDTDAttlist...
596      d                 pr            10i 0 extproc(
597      d                                     'xmlTextWriterWriteVFormatDTDAttlist'
598      d                                     )
599      d  writer                             value like(xmlTextWriterPtr)
600      d  name                           *   value options(*string)               const xmlChar *
601      d  format                         *   value options(*string)               const char *
602      d  argptr                             likeds(xmlVaList)
603
604      d xmlTextWriterWriteDTDAttlist...
605      d                 pr            10i 0 extproc(
606      d                                     'xmlTextWriterWriteDTDAttlist')
607      d  writer                             value like(xmlTextWriterPtr)
608      d  name                           *   value options(*string)               const xmlChar *
609      d  content                        *   value options(*string)               const xmlChar *
610
611       * DTD entity definition
612
613      d xmlTextWriterStartDTDEntity...
614      d                 pr            10i 0 extproc(
615      d                                     'xmlTextWriterStartDTDEntity')
616      d  writer                             value like(xmlTextWriterPtr)
617      d  pe                           10i 0 value
618      d  name                           *   value options(*string)               const xmlChar *
619
620      d xmlTextWriterEndDTDEntity...
621      d                 pr            10i 0 extproc('xmlTextWriterEndDTDEntity')
622      d  writer                             value like(xmlTextWriterPtr)
623
624       * DTD entity definition conveniency functions
625
626      d xmlTextWriterWriteFormatDTDInternalEntity...
627      d                 pr            10i 0 extproc('xmlTextWriterWriteFormatDTD-
628      d                                     InternalEntity')
629      d  writer                             value like(xmlTextWriterPtr)
630      d  pe                           10i 0 value
631      d  name                           *   value options(*string)               const xmlChar *
632      d  format                         *   value options(*string)               const char *
633      d  #vararg1                       *   value options(*string: *nopass)      void *
634      d  #vararg2                       *   value options(*string: *nopass)      void *
635      d  #vararg3                       *   value options(*string: *nopass)      void *
636      d  #vararg4                       *   value options(*string: *nopass)      void *
637      d  #vararg5                       *   value options(*string: *nopass)      void *
638      d  #vararg6                       *   value options(*string: *nopass)      void *
639      d  #vararg7                       *   value options(*string: *nopass)      void *
640      d  #vararg8                       *   value options(*string: *nopass)      void *
641
642      d xmlTextWriterWriteVFormatDTDInternalEntity...
643      d                 pr            10i 0 extproc('xmlTextWriterWriteVFormatDT-
644      d                                     DInternalEntity')
645      d  writer                             value like(xmlTextWriterPtr)
646      d  pe                           10i 0 value
647      d  name                           *   value options(*string)               const xmlChar *
648      d  format                         *   value options(*string)               const char *
649      d  argptr                             likeds(xmlVaList)
650
651      d xmlTextWriterWriteDTDInternalEntity...
652      d                 pr            10i 0 extproc(
653      d                                     'xmlTextWriterWriteDTDInternalEntity'
654      d                                     )
655      d  writer                             value like(xmlTextWriterPtr)
656      d  pe                           10i 0 value
657      d  name                           *   value options(*string)               const xmlChar *
658      d  content                        *   value options(*string)               const xmlChar *
659
660      d xmlTextWriterWriteDTDExternalEntity...
661      d                 pr            10i 0 extproc(
662      d                                     'xmlTextWriterWriteDTDExternalEntity'
663      d                                     )
664      d  writer                             value like(xmlTextWriterPtr)
665      d  pe                           10i 0 value
666      d  name                           *   value options(*string)               const xmlChar *
667      d  pubid                          *   value options(*string)               const xmlChar *
668      d  sysid                          *   value options(*string)               const xmlChar *
669      d  ndataid                        *   value options(*string)               const xmlChar *
670
671      d xmlTextWriterWriteDTDExternalEntityContents...
672      d                 pr            10i 0 extproc('xmlTextWriterWriteDTDExtern-
673      d                                     alEntityContents')
674      d  writer                             value like(xmlTextWriterPtr)
675      d  pubid                          *   value options(*string)               const xmlChar *
676      d  sysid                          *   value options(*string)               const xmlChar *
677      d  ndataid                        *   value options(*string)               const xmlChar *
678
679      d xmlTextWriterWriteDTDEntity...
680      d                 pr            10i 0 extproc(
681      d                                     'xmlTextWriterWriteDTDEntity')
682      d  writer                             value like(xmlTextWriterPtr)
683      d  pe                           10i 0 value
684      d  name                           *   value options(*string)               const xmlChar *
685      d  pubid                          *   value options(*string)               const xmlChar *
686      d  sysid                          *   value options(*string)               const xmlChar *
687      d  ndataid                        *   value options(*string)               const xmlChar *
688      d  content                        *   value options(*string)               const xmlChar *
689
690       * DTD notation definition
691
692      d xmlTextWriterWriteDTDNotation...
693      d                 pr            10i 0 extproc(
694      d                                     'xmlTextWriterWriteDTDNotation')
695      d  writer                             value like(xmlTextWriterPtr)
696      d  name                           *   value options(*string)               const xmlChar *
697      d  pubid                          *   value options(*string)               const xmlChar *
698      d  sysid                          *   value options(*string)               const xmlChar *
699
700       * Indentation
701
702      d xmlTextWriterSetIndent...
703      d                 pr            10i 0 extproc('xmlTextWriterSetIndent')
704      d  writer                             value like(xmlTextWriterPtr)
705      d  indent                       10i 0 value
706
707      d xmlTextWriterSetIndentString...
708      d                 pr            10i 0 extproc(
709      d                                     'xmlTextWriterSetIndentString')
710      d  writer                             value like(xmlTextWriterPtr)
711      d  str                            *   value options(*string)               const xmlChar *
712
713      d xmlTextWriterSetQuoteChar...
714      d                 pr            10i 0 extproc('xmlTextWriterSetQuoteChar')
715      d  writer                             value like(xmlTextWriterPtr)
716      d  quotechar                          value like(xmlChar)
717
718       * misc
719
720      d xmlTextWriterFlush...
721      d                 pr            10i 0 extproc('xmlTextWriterFlush')
722      d  writer                             value like(xmlTextWriterPtr)
723
724       /endif                                                                    LIBXML_WRITER_ENABLD
725       /endif                                                                    XML_XMLWRITER_H__