aboutsummaryrefslogtreecommitdiff
path: root/libxml2-2.9.10/os400/libxmlrpg/xinclude.rpgle
blob: 93b7c5159737a6568b662ec8107d6cda7f2a9ff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
      * Summary: implementation of XInclude
      * Description: API to handle XInclude processing,
      * implements the
      * World Wide Web Consortium Last Call Working Draft 10 November 2003
      * http://www.w3.org/TR/2003/WD-xinclude-20031110
      *
      * Copy: See Copyright for the status of this software.
      *
      * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.

      /if not defined(XML_XINCLUDE_H__)
      /define XML_XINCLUDE_H__

      /include "libxmlrpg/xmlversion"
      /include "libxmlrpg/xmlTypesC"
      /include "libxmlrpg/tree"

      /if defined(LIBXML_XINCLUDE_ENABLED)

      * XINCLUDE_NS:
      *
      * Macro defining the Xinclude namespace: http://www.w3.org/2003/XInclude

     d XINCLUDE_NS     c                   'http://www.w3.org/2003/XInclude'


      * XINCLUDE_OLD_NS:
      *
      * Define the draft Xinclude namespace: http://www.w3.org/2001/XInclude

     d XINCLUDE_OLD_NS...
     d                 c                   'http://www.w3.org/2001/XInclude'

      * XINCLUDE_NODE:
      *
      * Macro defining "include"

     d XINCLUDE_NODE   c                   'include'

      * XINCLUDE_FALLBACK:
      *
      * Macro defining "fallback"

     d XINCLUDE_FALLBACK...
     d                 c                   'fallback'

      * XINCLUDE_HREF:
      *
      * Macro defining "href"

     d XINCLUDE_HREF   c                   'href'

      * XINCLUDE_PARSE:
      *
      * Macro defining "parse"

     d XINCLUDE_PARSE  c                   'parse'

      * XINCLUDE_PARSE_XML:
      *
      * Macro defining "xml"

     d XINCLUDE_PARSE_XML...
     d                 c                   'xml'

      * XINCLUDE_PARSE_TEXT:
      *
      * Macro defining "text"

     d XINCLUDE_PARSE_TEXT...
     d                 c                   'text'

      * XINCLUDE_PARSE_ENCODING:
      *
      * Macro defining "encoding"

     d XINCLUDE_PARSE_ENCODING...
     d                 c                   'encoding'

      * XINCLUDE_PARSE_XPOINTER:
      *
      * Macro defining "xpointer"

     d XINCLUDE_PARSE_XPOINTER...
     d                 c                   'xpointer'

     d xmlXIncludeCtxtPtr...
     d                 s               *   based(######typedef######)

      * standalone processing

     d xmlXIncludeProcess...
     d                 pr                  extproc('xmlXIncludeProcess')
     d                                     like(xmlCint)
     d  doc                                value like(xmlDocPtr)

     d xmlXIncludeProcessFlags...
     d                 pr                  extproc('xmlXIncludeProcessFlags')
     d                                     like(xmlCint)
     d  doc                                value like(xmlDocPtr)
     d  flags                              value like(xmlCint)

     d xmlXIncludeProcessFlagsData...
     d                 pr                  extproc(
     d                                     'xmlXIncludeProcessFlagsData')
     d                                     like(xmlCint)
     d  doc                                value like(xmlDocPtr)
     d  flags                              value like(xmlCint)
     d  data                           *   value                                void *

     d xmlXIncludeProcessTreeFlagsData...
     d                 pr                  extproc(
     d                                     'xmlXIncludeProcessTreeFlagsData')
     d                                     like(xmlCint)
     d  tree                               value like(xmlNodePtr)
     d  flags                              value like(xmlCint)
     d  data                           *   value                                void *

     d xmlXIncludeProcessTree...
     d                 pr                  extproc('xmlXIncludeProcessTree')
     d                                     like(xmlCint)
     d  tree                               value like(xmlNodePtr)

     d xmlXIncludeProcessTreeFlags...
     d                 pr                  extproc(
     d                                     'xmlXIncludeProcessTreeFlags')
     d                                     like(xmlCint)
     d  tree                               value like(xmlNodePtr)
     d  flags                              value like(xmlCint)


      * contextual processing

     d xmlXIncludeNewContext...
     d                 pr                  extproc('xmlXIncludeNewContext')
     d                                     like(xmlXIncludeCtxtPtr)
     d  doc                                value like(xmlDocPtr)

     d xmlXIncludeSetFlags...
     d                 pr                  extproc('xmlXIncludeSetFlags')
     d                                     like(xmlCint)
     d  ctxt                               value like(xmlXIncludeCtxtPtr)
     d  flags                              value like(xmlCint)

     d xmlXIncludeFreeContext...
     d                 pr                  extproc('xmlXIncludeFreeContext')
     d  ctxt                               value like(xmlXIncludeCtxtPtr)

     d xmlXIncludeProcessNode...
     d                 pr                  extproc('xmlXIncludeProcessNode')
     d                                     like(xmlCint)
     d  ctxt                               value like(xmlXIncludeCtxtPtr)
     d  tree                               value like(xmlNodePtr)

      /endif                                                                    XINCLUDE_ENABLED
      /endif                                                                    XML_XINCLUDE_H__