gsf 3.0.9-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +55 -0
  3. data/lib/gsf.rb +53 -0
  4. data/lib/gsf/input.rb +26 -0
  5. data/lib/gsf/loader.rb +57 -0
  6. data/test/gsf-test-utils.rb +22 -0
  7. data/test/run-test.rb +46 -0
  8. data/test/test-input-stdio.rb +25 -0
  9. data/vendor/local/bin/gsf-office-thumbnailer.exe +0 -0
  10. data/vendor/local/bin/gsf-vba-dump.exe +0 -0
  11. data/vendor/local/bin/gsf.exe +0 -0
  12. data/vendor/local/bin/libgsf-1-114.dll +0 -0
  13. data/vendor/local/bin/libgsf-win32-1-114.dll +0 -0
  14. data/vendor/local/include/libgsf-1/gsf-win32/gsf-input-win32.h +41 -0
  15. data/vendor/local/include/libgsf-1/gsf-win32/gsf-output-win32.h +41 -0
  16. data/vendor/local/include/libgsf-1/gsf/gsf-blob.h +39 -0
  17. data/vendor/local/include/libgsf-1/gsf/gsf-clip-data.h +72 -0
  18. data/vendor/local/include/libgsf-1/gsf/gsf-doc-meta-data.h +66 -0
  19. data/vendor/local/include/libgsf-1/gsf/gsf-docprop-vector.h +47 -0
  20. data/vendor/local/include/libgsf-1/gsf/gsf-fwd.h +121 -0
  21. data/vendor/local/include/libgsf-1/gsf/gsf-impl-utils.h +156 -0
  22. data/vendor/local/include/libgsf-1/gsf/gsf-infile-impl.h +50 -0
  23. data/vendor/local/include/libgsf-1/gsf/gsf-infile-msole.h +45 -0
  24. data/vendor/local/include/libgsf-1/gsf/gsf-infile-msvba.h +49 -0
  25. data/vendor/local/include/libgsf-1/gsf/gsf-infile-stdio.h +43 -0
  26. data/vendor/local/include/libgsf-1/gsf/gsf-infile-tar.h +40 -0
  27. data/vendor/local/include/libgsf-1/gsf/gsf-infile-zip.h +43 -0
  28. data/vendor/local/include/libgsf-1/gsf/gsf-infile.h +46 -0
  29. data/vendor/local/include/libgsf-1/gsf/gsf-input-bzip.h +34 -0
  30. data/vendor/local/include/libgsf-1/gsf/gsf-input-gio.h +44 -0
  31. data/vendor/local/include/libgsf-1/gsf/gsf-input-gzip.h +43 -0
  32. data/vendor/local/include/libgsf-1/gsf/gsf-input-http.h +45 -0
  33. data/vendor/local/include/libgsf-1/gsf/gsf-input-impl.h +68 -0
  34. data/vendor/local/include/libgsf-1/gsf/gsf-input-iochannel.h +35 -0
  35. data/vendor/local/include/libgsf-1/gsf/gsf-input-memory.h +46 -0
  36. data/vendor/local/include/libgsf-1/gsf/gsf-input-proxy.h +46 -0
  37. data/vendor/local/include/libgsf-1/gsf/gsf-input-stdio.h +48 -0
  38. data/vendor/local/include/libgsf-1/gsf/gsf-input-textline.h +46 -0
  39. data/vendor/local/include/libgsf-1/gsf/gsf-input.h +69 -0
  40. data/vendor/local/include/libgsf-1/gsf/gsf-libxml.h +225 -0
  41. data/vendor/local/include/libgsf-1/gsf/gsf-meta-names.h +482 -0
  42. data/vendor/local/include/libgsf-1/gsf/gsf-msole-utils.h +70 -0
  43. data/vendor/local/include/libgsf-1/gsf/gsf-open-pkg-utils.h +95 -0
  44. data/vendor/local/include/libgsf-1/gsf/gsf-opendoc-utils.h +162 -0
  45. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-impl.h +46 -0
  46. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-msole.h +47 -0
  47. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-stdio.h +49 -0
  48. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-zip.h +61 -0
  49. data/vendor/local/include/libgsf-1/gsf/gsf-outfile.h +49 -0
  50. data/vendor/local/include/libgsf-1/gsf/gsf-output-bzip.h +43 -0
  51. data/vendor/local/include/libgsf-1/gsf/gsf-output-csv.h +84 -0
  52. data/vendor/local/include/libgsf-1/gsf/gsf-output-gio.h +44 -0
  53. data/vendor/local/include/libgsf-1/gsf/gsf-output-gzip.h +43 -0
  54. data/vendor/local/include/libgsf-1/gsf/gsf-output-iconv.h +47 -0
  55. data/vendor/local/include/libgsf-1/gsf/gsf-output-impl.h +37 -0
  56. data/vendor/local/include/libgsf-1/gsf/gsf-output-iochannel.h +43 -0
  57. data/vendor/local/include/libgsf-1/gsf/gsf-output-memory.h +44 -0
  58. data/vendor/local/include/libgsf-1/gsf/gsf-output-stdio.h +52 -0
  59. data/vendor/local/include/libgsf-1/gsf/gsf-output.h +99 -0
  60. data/vendor/local/include/libgsf-1/gsf/gsf-shared-memory.h +51 -0
  61. data/vendor/local/include/libgsf-1/gsf/gsf-structured-blob.h +45 -0
  62. data/vendor/local/include/libgsf-1/gsf/gsf-timestamp.h +70 -0
  63. data/vendor/local/include/libgsf-1/gsf/gsf-utils.h +340 -0
  64. data/vendor/local/include/libgsf-1/gsf/gsf.h +98 -0
  65. data/vendor/local/lib/libgsf-1.a +0 -0
  66. data/vendor/local/lib/libgsf-1.dll.a +0 -0
  67. data/vendor/local/lib/libgsf-1.la +41 -0
  68. data/vendor/local/lib/libgsf-win32-1.a +0 -0
  69. data/vendor/local/lib/libgsf-win32-1.dll.a +0 -0
  70. data/vendor/local/lib/libgsf-win32-1.la +41 -0
  71. data/vendor/local/lib/pkgconfig/libgsf-1.pc +11 -0
  72. data/vendor/local/lib/pkgconfig/libgsf-win32-1.pc +11 -0
  73. data/vendor/local/share/gtk-doc/html/gsf/annotation-glossary.html +56 -0
  74. data/vendor/local/share/gtk-doc/html/gsf/api.html +107 -0
  75. data/vendor/local/share/gtk-doc/html/gsf/dependencies.html +109 -0
  76. data/vendor/local/share/gtk-doc/html/gsf/gsf-Compression.html +369 -0
  77. data/vendor/local/share/gtk-doc/html/gsf/gsf-GIO.html +307 -0
  78. data/vendor/local/share/gtk-doc/html/gsf/gsf-GIOChannel.html +119 -0
  79. data/vendor/local/share/gtk-doc/html/gsf/gsf-Infile-reading-structed-files.html +397 -0
  80. data/vendor/local/share/gtk-doc/html/gsf/gsf-Input-from-unstructured-files.html +887 -0
  81. data/vendor/local/share/gtk-doc/html/gsf/gsf-MS-OLE2.html +894 -0
  82. data/vendor/local/share/gtk-doc/html/gsf/gsf-OASIS-Open-Document.html +398 -0
  83. data/vendor/local/share/gtk-doc/html/gsf/gsf-Outfile-writing-structed-files.html +237 -0
  84. data/vendor/local/share/gtk-doc/html/gsf/gsf-Output-to-unstructured-files.html +830 -0
  85. data/vendor/local/share/gtk-doc/html/gsf/gsf-Reading-and-Writing-from-local-files-and-directories.html +593 -0
  86. data/vendor/local/share/gtk-doc/html/gsf/gsf-Text.html +523 -0
  87. data/vendor/local/share/gtk-doc/html/gsf/gsf-XML-and-libxml.html +2032 -0
  88. data/vendor/local/share/gtk-doc/html/gsf/gsf-Zip.html +338 -0
  89. data/vendor/local/share/gtk-doc/html/gsf/gsf-blobs.html +56 -0
  90. data/vendor/local/share/gtk-doc/html/gsf/gsf-clip-data.html +444 -0
  91. data/vendor/local/share/gtk-doc/html/gsf/gsf-index.html +875 -0
  92. data/vendor/local/share/gtk-doc/html/gsf/gsf-memory.html +332 -0
  93. data/vendor/local/share/gtk-doc/html/gsf/gsf-metadata.html +1762 -0
  94. data/vendor/local/share/gtk-doc/html/gsf/gsf-users.html +73 -0
  95. data/vendor/local/share/gtk-doc/html/gsf/gsf-utils.html +2503 -0
  96. data/vendor/local/share/gtk-doc/html/gsf/gsf.devhelp2 +440 -0
  97. data/vendor/local/share/gtk-doc/html/gsf/history.html +45 -0
  98. data/vendor/local/share/gtk-doc/html/gsf/home.png +0 -0
  99. data/vendor/local/share/gtk-doc/html/gsf/index.html +98 -0
  100. data/vendor/local/share/gtk-doc/html/gsf/index.sgml +572 -0
  101. data/vendor/local/share/gtk-doc/html/gsf/intro.html +39 -0
  102. data/vendor/local/share/gtk-doc/html/gsf/io.html +38 -0
  103. data/vendor/local/share/gtk-doc/html/gsf/left-insensitive.png +0 -0
  104. data/vendor/local/share/gtk-doc/html/gsf/left.png +0 -0
  105. data/vendor/local/share/gtk-doc/html/gsf/misc.html +33 -0
  106. data/vendor/local/share/gtk-doc/html/gsf/parsers.html +59 -0
  107. data/vendor/local/share/gtk-doc/html/gsf/right-insensitive.png +0 -0
  108. data/vendor/local/share/gtk-doc/html/gsf/right.png +0 -0
  109. data/vendor/local/share/gtk-doc/html/gsf/sources.html +50 -0
  110. data/vendor/local/share/gtk-doc/html/gsf/style.css +461 -0
  111. data/vendor/local/share/gtk-doc/html/gsf/up-insensitive.png +0 -0
  112. data/vendor/local/share/gtk-doc/html/gsf/up.png +0 -0
  113. data/vendor/local/share/license/libgsf/AUTHORS +3 -0
  114. data/vendor/local/share/license/libgsf/COPYING +340 -0
  115. data/vendor/local/share/license/libgsf/COPYING.LIB +504 -0
  116. data/vendor/local/share/locale/as/LC_MESSAGES/libgsf.mo +0 -0
  117. data/vendor/local/share/locale/bs/LC_MESSAGES/libgsf.mo +0 -0
  118. data/vendor/local/share/locale/ca/LC_MESSAGES/libgsf.mo +0 -0
  119. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/libgsf.mo +0 -0
  120. data/vendor/local/share/locale/cs/LC_MESSAGES/libgsf.mo +0 -0
  121. data/vendor/local/share/locale/da/LC_MESSAGES/libgsf.mo +0 -0
  122. data/vendor/local/share/locale/de/LC_MESSAGES/libgsf.mo +0 -0
  123. data/vendor/local/share/locale/el/LC_MESSAGES/libgsf.mo +0 -0
  124. data/vendor/local/share/locale/en_GB/LC_MESSAGES/libgsf.mo +0 -0
  125. data/vendor/local/share/locale/eo/LC_MESSAGES/libgsf.mo +0 -0
  126. data/vendor/local/share/locale/es/LC_MESSAGES/libgsf.mo +0 -0
  127. data/vendor/local/share/locale/eu/LC_MESSAGES/libgsf.mo +0 -0
  128. data/vendor/local/share/locale/fi/LC_MESSAGES/libgsf.mo +0 -0
  129. data/vendor/local/share/locale/fr/LC_MESSAGES/libgsf.mo +0 -0
  130. data/vendor/local/share/locale/gl/LC_MESSAGES/libgsf.mo +0 -0
  131. data/vendor/local/share/locale/he/LC_MESSAGES/libgsf.mo +0 -0
  132. data/vendor/local/share/locale/hu/LC_MESSAGES/libgsf.mo +0 -0
  133. data/vendor/local/share/locale/id/LC_MESSAGES/libgsf.mo +0 -0
  134. data/vendor/local/share/locale/it/LC_MESSAGES/libgsf.mo +0 -0
  135. data/vendor/local/share/locale/ja/LC_MESSAGES/libgsf.mo +0 -0
  136. data/vendor/local/share/locale/ko/LC_MESSAGES/libgsf.mo +0 -0
  137. data/vendor/local/share/locale/lt/LC_MESSAGES/libgsf.mo +0 -0
  138. data/vendor/local/share/locale/lv/LC_MESSAGES/libgsf.mo +0 -0
  139. data/vendor/local/share/locale/ml/LC_MESSAGES/libgsf.mo +0 -0
  140. data/vendor/local/share/locale/nb/LC_MESSAGES/libgsf.mo +0 -0
  141. data/vendor/local/share/locale/nn/LC_MESSAGES/libgsf.mo +0 -0
  142. data/vendor/local/share/locale/oc/LC_MESSAGES/libgsf.mo +0 -0
  143. data/vendor/local/share/locale/pa/LC_MESSAGES/libgsf.mo +0 -0
  144. data/vendor/local/share/locale/pl/LC_MESSAGES/libgsf.mo +0 -0
  145. data/vendor/local/share/locale/pt/LC_MESSAGES/libgsf.mo +0 -0
  146. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libgsf.mo +0 -0
  147. data/vendor/local/share/locale/ro/LC_MESSAGES/libgsf.mo +0 -0
  148. data/vendor/local/share/locale/ru/LC_MESSAGES/libgsf.mo +0 -0
  149. data/vendor/local/share/locale/sk/LC_MESSAGES/libgsf.mo +0 -0
  150. data/vendor/local/share/locale/sl/LC_MESSAGES/libgsf.mo +0 -0
  151. data/vendor/local/share/locale/sr/LC_MESSAGES/libgsf.mo +0 -0
  152. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/libgsf.mo +0 -0
  153. data/vendor/local/share/locale/sv/LC_MESSAGES/libgsf.mo +0 -0
  154. data/vendor/local/share/locale/ta/LC_MESSAGES/libgsf.mo +0 -0
  155. data/vendor/local/share/locale/tg/LC_MESSAGES/libgsf.mo +0 -0
  156. data/vendor/local/share/locale/th/LC_MESSAGES/libgsf.mo +0 -0
  157. data/vendor/local/share/locale/tr/LC_MESSAGES/libgsf.mo +0 -0
  158. data/vendor/local/share/locale/uk/LC_MESSAGES/libgsf.mo +0 -0
  159. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libgsf.mo +0 -0
  160. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/libgsf.mo +0 -0
  161. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/libgsf.mo +0 -0
  162. data/vendor/local/share/man/man1/gsf-office-thumbnailer.1 +71 -0
  163. data/vendor/local/share/man/man1/gsf-vba-dump.1 +61 -0
  164. data/vendor/local/share/man/man1/gsf.1 +91 -0
  165. data/vendor/local/share/thumbnailers/gsf-office.thumbnailer +4 -0
  166. metadata +235 -0
@@ -0,0 +1,2032 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>GSF Reference Manual: XML and libxml</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
+ <link rel="home" href="index.html" title="GSF Reference Manual">
8
+ <link rel="up" href="parsers.html" title="Stream Parsers">
9
+ <link rel="prev" href="gsf-Text.html" title="Text">
10
+ <link rel="next" href="gsf-Zip.html" title="Zip files">
11
+ <meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
18
+ <a href="#gsf-XML-and-libxml.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
+ <a href="#gsf-XML-and-libxml.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> 
20
+ <a href="#gsf-XML-and-libxml.properties" class="shortcut">Properties</a></span>
21
+ </td>
22
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23
+ <td><a accesskey="u" href="parsers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24
+ <td><a accesskey="p" href="gsf-Text.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25
+ <td><a accesskey="n" href="gsf-Zip.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26
+ </tr></table>
27
+ <div class="refentry">
28
+ <a name="gsf-XML-and-libxml"></a><div class="titlepage"></div>
29
+ <div class="refnamediv"><table width="100%"><tr>
30
+ <td valign="top">
31
+ <h2><span class="refentrytitle"><a name="gsf-XML-and-libxml.top_of_page"></a>XML and libxml</span></h2>
32
+ <p>XML and libxml</p>
33
+ </td>
34
+ <td class="gallery_image" valign="top" align="right"></td>
35
+ </tr></table></div>
36
+ <div class="refsect1">
37
+ <a name="gsf-XML-and-libxml.functions"></a><h2>Functions</h2>
38
+ <div class="informaltable"><table width="100%" border="0">
39
+ <colgroup>
40
+ <col width="150px" class="functions_return">
41
+ <col class="functions_name">
42
+ </colgroup>
43
+ <tbody>
44
+ <tr>
45
+ <td class="function_type">
46
+ <span class="returnvalue">gboolean</span>
47
+ </td>
48
+ <td class="function_name">
49
+ <span class="c_punctuation">(</span><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInUnknownFunc" title="GsfXMLInUnknownFunc ()">*GsfXMLInUnknownFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
50
+ </td>
51
+ </tr>
52
+ <tr>
53
+ <td class="function_type">
54
+ <span class="returnvalue">void</span>
55
+ </td>
56
+ <td class="function_name">
57
+ <span class="c_punctuation">(</span><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInExtDtor" title="GsfXMLInExtDtor ()">*GsfXMLInExtDtor</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td class="function_type">
62
+ <span class="returnvalue">gboolean</span>
63
+ </td>
64
+ <td class="function_name">
65
+ <span class="c_punctuation">(</span><a class="link" href="gsf-XML-and-libxml.html#GsfXMLProbeFunc" title="GsfXMLProbeFunc ()">*GsfXMLProbeFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
66
+ </td>
67
+ </tr>
68
+ <tr>
69
+ <td class="define_keyword">#define</td>
70
+ <td class="function_name">
71
+ <a class="link" href="gsf-XML-and-libxml.html#GSF-XML-IN-NODE-FULL:CAPS" title="GSF_XML_IN_NODE_FULL()">GSF_XML_IN_NODE_FULL</a><span class="c_punctuation">()</span>
72
+ </td>
73
+ </tr>
74
+ <tr>
75
+ <td class="define_keyword">#define</td>
76
+ <td class="function_name">
77
+ <a class="link" href="gsf-XML-and-libxml.html#GSF-XML-IN-NODE:CAPS" title="GSF_XML_IN_NODE()">GSF_XML_IN_NODE</a><span class="c_punctuation">()</span>
78
+ </td>
79
+ </tr>
80
+ <tr>
81
+ <td class="define_keyword">#define</td>
82
+ <td class="function_name">
83
+ <a class="link" href="gsf-XML-and-libxml.html#GSF-XML-IN-NS:CAPS" title="GSF_XML_IN_NS()">GSF_XML_IN_NS</a><span class="c_punctuation">()</span>
84
+ </td>
85
+ </tr>
86
+ <tr>
87
+ <td class="function_type">
88
+ <a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc"><span class="returnvalue">GsfXMLInDoc</span></a> *
89
+ </td>
90
+ <td class="function_name">
91
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-in-doc-new" title="gsf_xml_in_doc_new ()">gsf_xml_in_doc_new</a> <span class="c_punctuation">()</span>
92
+ </td>
93
+ </tr>
94
+ <tr>
95
+ <td class="function_type">
96
+ <span class="returnvalue">void</span>
97
+ </td>
98
+ <td class="function_name">
99
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-in-doc-free" title="gsf_xml_in_doc_free ()">gsf_xml_in_doc_free</a> <span class="c_punctuation">()</span>
100
+ </td>
101
+ </tr>
102
+ <tr>
103
+ <td class="function_type">
104
+ <span class="returnvalue">void</span>
105
+ </td>
106
+ <td class="function_name">
107
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-in-doc-add-nodes" title="gsf_xml_in_doc_add_nodes ()">gsf_xml_in_doc_add_nodes</a> <span class="c_punctuation">()</span>
108
+ </td>
109
+ </tr>
110
+ <tr>
111
+ <td class="function_type">
112
+ <span class="returnvalue">gboolean</span>
113
+ </td>
114
+ <td class="function_name">
115
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-in-doc-parse" title="gsf_xml_in_doc_parse ()">gsf_xml_in_doc_parse</a> <span class="c_punctuation">()</span>
116
+ </td>
117
+ </tr>
118
+ <tr>
119
+ <td class="function_type">
120
+ <span class="returnvalue">void</span>
121
+ </td>
122
+ <td class="function_name">
123
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-in-doc-set-unknown-handler" title="gsf_xml_in_doc_set_unknown_handler ()">gsf_xml_in_doc_set_unknown_handler</a> <span class="c_punctuation">()</span>
124
+ </td>
125
+ </tr>
126
+ <tr>
127
+ <td class="function_type">
128
+ <span class="returnvalue">void</span>
129
+ </td>
130
+ <td class="function_name">
131
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-in-push-state" title="gsf_xml_in_push_state ()">gsf_xml_in_push_state</a> <span class="c_punctuation">()</span>
132
+ </td>
133
+ </tr>
134
+ <tr>
135
+ <td class="function_type">
136
+ <span class="returnvalue">gboolean</span>
137
+ </td>
138
+ <td class="function_name">
139
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-in-namecmp" title="gsf_xml_in_namecmp ()">gsf_xml_in_namecmp</a> <span class="c_punctuation">()</span>
140
+ </td>
141
+ </tr>
142
+ <tr>
143
+ <td class="function_type">
144
+ <span class="returnvalue">char</span> const *
145
+ </td>
146
+ <td class="function_name">
147
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-in-check-ns" title="gsf_xml_in_check_ns ()">gsf_xml_in_check_ns</a> <span class="c_punctuation">()</span>
148
+ </td>
149
+ </tr>
150
+ <tr>
151
+ <td class="function_type">
152
+ <a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
153
+ </td>
154
+ <td class="function_name">
155
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-in-get-input" title="gsf_xml_in_get_input ()">gsf_xml_in_get_input</a> <span class="c_punctuation">()</span>
156
+ </td>
157
+ </tr>
158
+ <tr>
159
+ <td class="function_type">
160
+ <span class="returnvalue">gboolean</span>
161
+ </td>
162
+ <td class="function_name">
163
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-probe" title="gsf_xml_probe ()">gsf_xml_probe</a> <span class="c_punctuation">()</span>
164
+ </td>
165
+ </tr>
166
+ <tr>
167
+ <td class="function_type">
168
+ <a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="returnvalue">GsfXMLOut</span></a> *
169
+ </td>
170
+ <td class="function_name">
171
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-new" title="gsf_xml_out_new ()">gsf_xml_out_new</a> <span class="c_punctuation">()</span>
172
+ </td>
173
+ </tr>
174
+ <tr>
175
+ <td class="function_type">
176
+ <span class="returnvalue">void</span>
177
+ </td>
178
+ <td class="function_name">
179
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-set-doc-type" title="gsf_xml_out_set_doc_type ()">gsf_xml_out_set_doc_type</a> <span class="c_punctuation">()</span>
180
+ </td>
181
+ </tr>
182
+ <tr>
183
+ <td class="function_type">
184
+ <a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> *
185
+ </td>
186
+ <td class="function_name">
187
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-get-output" title="gsf_xml_out_get_output ()">gsf_xml_out_get_output</a> <span class="c_punctuation">()</span>
188
+ </td>
189
+ </tr>
190
+ <tr>
191
+ <td class="function_type">
192
+ <span class="returnvalue">void</span>
193
+ </td>
194
+ <td class="function_name">
195
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-start-element" title="gsf_xml_out_start_element ()">gsf_xml_out_start_element</a> <span class="c_punctuation">()</span>
196
+ </td>
197
+ </tr>
198
+ <tr>
199
+ <td class="function_type">
200
+ <span class="returnvalue">char</span> const *
201
+ </td>
202
+ <td class="function_name">
203
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-end-element" title="gsf_xml_out_end_element ()">gsf_xml_out_end_element</a> <span class="c_punctuation">()</span>
204
+ </td>
205
+ </tr>
206
+ <tr>
207
+ <td class="function_type">
208
+ <span class="returnvalue">void</span>
209
+ </td>
210
+ <td class="function_name">
211
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-add-cstr" title="gsf_xml_out_add_cstr ()">gsf_xml_out_add_cstr</a> <span class="c_punctuation">()</span>
212
+ </td>
213
+ </tr>
214
+ <tr>
215
+ <td class="function_type">
216
+ <span class="returnvalue">void</span>
217
+ </td>
218
+ <td class="function_name">
219
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-add-cstr-unchecked" title="gsf_xml_out_add_cstr_unchecked ()">gsf_xml_out_add_cstr_unchecked</a> <span class="c_punctuation">()</span>
220
+ </td>
221
+ </tr>
222
+ <tr>
223
+ <td class="function_type">
224
+ <span class="returnvalue">void</span>
225
+ </td>
226
+ <td class="function_name">
227
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-add-bool" title="gsf_xml_out_add_bool ()">gsf_xml_out_add_bool</a> <span class="c_punctuation">()</span>
228
+ </td>
229
+ </tr>
230
+ <tr>
231
+ <td class="function_type">
232
+ <span class="returnvalue">void</span>
233
+ </td>
234
+ <td class="function_name">
235
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-add-int" title="gsf_xml_out_add_int ()">gsf_xml_out_add_int</a> <span class="c_punctuation">()</span>
236
+ </td>
237
+ </tr>
238
+ <tr>
239
+ <td class="function_type">
240
+ <span class="returnvalue">void</span>
241
+ </td>
242
+ <td class="function_name">
243
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-add-uint" title="gsf_xml_out_add_uint ()">gsf_xml_out_add_uint</a> <span class="c_punctuation">()</span>
244
+ </td>
245
+ </tr>
246
+ <tr>
247
+ <td class="function_type">
248
+ <span class="returnvalue">void</span>
249
+ </td>
250
+ <td class="function_name">
251
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-add-float" title="gsf_xml_out_add_float ()">gsf_xml_out_add_float</a> <span class="c_punctuation">()</span>
252
+ </td>
253
+ </tr>
254
+ <tr>
255
+ <td class="function_type">
256
+ <span class="returnvalue">void</span>
257
+ </td>
258
+ <td class="function_name">
259
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-add-enum" title="gsf_xml_out_add_enum ()">gsf_xml_out_add_enum</a> <span class="c_punctuation">()</span>
260
+ </td>
261
+ </tr>
262
+ <tr>
263
+ <td class="function_type">
264
+ <span class="returnvalue">void</span>
265
+ </td>
266
+ <td class="function_name">
267
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-add-color" title="gsf_xml_out_add_color ()">gsf_xml_out_add_color</a> <span class="c_punctuation">()</span>
268
+ </td>
269
+ </tr>
270
+ <tr>
271
+ <td class="function_type">
272
+ <span class="returnvalue">void</span>
273
+ </td>
274
+ <td class="function_name">
275
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-add-base64" title="gsf_xml_out_add_base64 ()">gsf_xml_out_add_base64</a> <span class="c_punctuation">()</span>
276
+ </td>
277
+ </tr>
278
+ <tr>
279
+ <td class="function_type">
280
+ <span class="returnvalue">void</span>
281
+ </td>
282
+ <td class="function_name">
283
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-add-gvalue" title="gsf_xml_out_add_gvalue ()">gsf_xml_out_add_gvalue</a> <span class="c_punctuation">()</span>
284
+ </td>
285
+ </tr>
286
+ <tr>
287
+ <td class="function_type">
288
+ <span class="returnvalue">void</span>
289
+ </td>
290
+ <td class="function_name">
291
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-simple-element" title="gsf_xml_out_simple_element ()">gsf_xml_out_simple_element</a> <span class="c_punctuation">()</span>
292
+ </td>
293
+ </tr>
294
+ <tr>
295
+ <td class="function_type">
296
+ <span class="returnvalue">void</span>
297
+ </td>
298
+ <td class="function_name">
299
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-simple-float-element" title="gsf_xml_out_simple_float_element ()">gsf_xml_out_simple_float_element</a> <span class="c_punctuation">()</span>
300
+ </td>
301
+ </tr>
302
+ <tr>
303
+ <td class="function_type">
304
+ <span class="returnvalue">void</span>
305
+ </td>
306
+ <td class="function_name">
307
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-out-simple-int-element" title="gsf_xml_out_simple_int_element ()">gsf_xml_out_simple_int_element</a> <span class="c_punctuation">()</span>
308
+ </td>
309
+ </tr>
310
+ <tr>
311
+ <td class="function_type">
312
+ <span class="returnvalue">gchar</span> *
313
+ </td>
314
+ <td class="function_name">
315
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-input-http-get-content-type" title="gsf_input_http_get_content_type ()">gsf_input_http_get_content_type</a> <span class="c_punctuation">()</span>
316
+ </td>
317
+ </tr>
318
+ <tr>
319
+ <td class="function_type">
320
+ <span class="returnvalue">GType</span>
321
+ </td>
322
+ <td class="function_name">
323
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-input-http-get-type" title="gsf_input_http_get_type ()">gsf_input_http_get_type</a> <span class="c_punctuation">()</span>
324
+ </td>
325
+ </tr>
326
+ <tr>
327
+ <td class="function_type">
328
+ <span class="returnvalue">gchar</span> *
329
+ </td>
330
+ <td class="function_name">
331
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-input-http-get-url" title="gsf_input_http_get_url ()">gsf_input_http_get_url</a> <span class="c_punctuation">()</span>
332
+ </td>
333
+ </tr>
334
+ <tr>
335
+ <td class="function_type">
336
+ <span class="returnvalue">xmlParserCtxt</span> *
337
+ </td>
338
+ <td class="function_name">
339
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-parser-context" title="gsf_xml_parser_context ()">gsf_xml_parser_context</a> <span class="c_punctuation">()</span>
340
+ </td>
341
+ </tr>
342
+ <tr>
343
+ <td class="function_type">
344
+ <span class="returnvalue">gboolean</span>
345
+ </td>
346
+ <td class="function_name">
347
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xml-gvalue-from-str" title="gsf_xml_gvalue_from_str ()">gsf_xml_gvalue_from_str</a> <span class="c_punctuation">()</span>
348
+ </td>
349
+ </tr>
350
+ <tr>
351
+ <td class="function_type">
352
+ <span class="returnvalue">int</span>
353
+ </td>
354
+ <td class="function_name">
355
+ <a class="link" href="gsf-XML-and-libxml.html#gsf-xmlDocFormatDump" title="gsf_xmlDocFormatDump ()">gsf_xmlDocFormatDump</a> <span class="c_punctuation">()</span>
356
+ </td>
357
+ </tr>
358
+ </tbody>
359
+ </table></div>
360
+ </div>
361
+ <div class="refsect1">
362
+ <a name="gsf-XML-and-libxml.properties"></a><h2>Properties</h2>
363
+ <div class="informaltable"><table border="0">
364
+ <colgroup>
365
+ <col width="150px" class="properties_type">
366
+ <col width="300px" class="properties_name">
367
+ <col width="200px" class="properties_flags">
368
+ </colgroup>
369
+ <tbody>
370
+ <tr>
371
+ <td class="property_type"><span class="type">gboolean</span></td>
372
+ <td class="property_name"><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut--pretty-print" title="The “pretty-print” property">pretty-print</a></td>
373
+ <td class="property_flags">Read / Write</td>
374
+ </tr>
375
+ <tr>
376
+ <td class="property_type">
377
+ <a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *</td>
378
+ <td class="property_name"><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut--sink" title="The “sink” property">sink</a></td>
379
+ <td class="property_flags">Read / Write / Construct Only</td>
380
+ </tr>
381
+ </tbody>
382
+ </table></div>
383
+ </div>
384
+ <a name="GsfXMLOut"></a><div class="refsect1">
385
+ <a name="gsf-XML-and-libxml.other"></a><h2>Types and Values</h2>
386
+ <div class="informaltable"><table width="100%" border="0">
387
+ <colgroup>
388
+ <col width="150px" class="name">
389
+ <col class="description">
390
+ </colgroup>
391
+ <tbody>
392
+ <tr>
393
+ <td class="datatype_keyword"> </td>
394
+ <td class="function_name"><a class="link" href="gsf-XML-and-libxml.html#GsfXMLIn" title="GsfXMLIn">GsfXMLIn</a></td>
395
+ </tr>
396
+ <tr>
397
+ <td class="datatype_keyword"> </td>
398
+ <td class="function_name"><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc">GsfXMLInDoc</a></td>
399
+ </tr>
400
+ <tr>
401
+ <td class="datatype_keyword"> </td>
402
+ <td class="function_name"><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInNS" title="GsfXMLInNS">GsfXMLInNS</a></td>
403
+ </tr>
404
+ <tr>
405
+ <td class="datatype_keyword"> </td>
406
+ <td class="function_name"><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInNode" title="GsfXMLInNode">GsfXMLInNode</a></td>
407
+ </tr>
408
+ <tr>
409
+ <td class="datatype_keyword">enum</td>
410
+ <td class="function_name"><a class="link" href="gsf-XML-and-libxml.html#GsfXMLContent" title="enum GsfXMLContent">GsfXMLContent</a></td>
411
+ </tr>
412
+ <tr>
413
+ <td class="datatype_keyword"> </td>
414
+ <td class="function_name"><a class="link" href="gsf-XML-and-libxml.html#GsfXMLBlob" title="GsfXMLBlob">GsfXMLBlob</a></td>
415
+ </tr>
416
+ <tr>
417
+ <td class="datatype_keyword"> </td>
418
+ <td class="function_name"><a class="link" href="gsf-XML-and-libxml.html#GsfInputHTTP" title="GsfInputHTTP">GsfInputHTTP</a></td>
419
+ </tr>
420
+ <tr>
421
+ <td class="define_keyword">#define</td>
422
+ <td class="function_name"><a class="link" href="gsf-XML-and-libxml.html#GSF-XML-IN-NODE-END:CAPS" title="GSF_XML_IN_NODE_END">GSF_XML_IN_NODE_END</a></td>
423
+ </tr>
424
+ <tr>
425
+ <td class="define_keyword">#define</td>
426
+ <td class="function_name"><a class="link" href="gsf-XML-and-libxml.html#GSF-XML-IN-NS-END:CAPS" title="GSF_XML_IN_NS_END">GSF_XML_IN_NS_END</a></td>
427
+ </tr>
428
+ <tr>
429
+ <td class="datatype_keyword"> </td>
430
+ <td class="function_name"><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut-struct" title="GsfXMLOut">GsfXMLOut</a></td>
431
+ </tr>
432
+ </tbody>
433
+ </table></div>
434
+ </div>
435
+ <div class="refsect1">
436
+ <a name="gsf-XML-and-libxml.object-hierarchy"></a><h2>Object Hierarchy</h2>
437
+ <pre class="screen"> GObject
438
+ <span class="lineart">╰──</span> GsfXMLOut
439
+ </pre>
440
+ </div>
441
+ <div class="refsect1">
442
+ <a name="gsf-XML-and-libxml.description"></a><h2>Description</h2>
443
+ <p>
444
+ </p>
445
+ </div>
446
+ <div class="refsect1">
447
+ <a name="gsf-XML-and-libxml.functions_details"></a><h2>Functions</h2>
448
+ <div class="refsect2">
449
+ <a name="GsfXMLInUnknownFunc"></a><h3>GsfXMLInUnknownFunc ()</h3>
450
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
451
+ <span class="c_punctuation">(</span>*GsfXMLInUnknownFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLIn" title="GsfXMLIn"><span class="type">GsfXMLIn</span></a> *xin</code></em>,
452
+ <em class="parameter"><code><span class="type">xmlChar</span> const *elem</code></em>,
453
+ <em class="parameter"><code><span class="type">xmlChar</span> const **attrs</code></em>);</pre>
454
+ <p>
455
+ </p>
456
+ <div class="refsect3">
457
+ <a name="id-1.6.5.3.9.2.5"></a><h4>Returns</h4>
458
+ <p></p>
459
+ </div>
460
+ </div>
461
+ <hr>
462
+ <div class="refsect2">
463
+ <a name="GsfXMLInExtDtor"></a><h3>GsfXMLInExtDtor ()</h3>
464
+ <pre class="programlisting"><span class="returnvalue">void</span>
465
+ <span class="c_punctuation">(</span>*GsfXMLInExtDtor<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLIn" title="GsfXMLIn"><span class="type">GsfXMLIn</span></a> *xin</code></em>,
466
+ <em class="parameter"><code><span class="type">gpointer</span> old_state</code></em>);</pre>
467
+ <p>
468
+ </p>
469
+ </div>
470
+ <hr>
471
+ <div class="refsect2">
472
+ <a name="GsfXMLProbeFunc"></a><h3>GsfXMLProbeFunc ()</h3>
473
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
474
+ <span class="c_punctuation">(</span>*GsfXMLProbeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code>const <span class="type">xmlChar</span> *name</code></em>,
475
+ <em class="parameter"><code>const <span class="type">xmlChar</span> *prefix</code></em>,
476
+ <em class="parameter"><code>const <span class="type">xmlChar</span> *URI</code></em>,
477
+ <em class="parameter"><code><span class="type">int</span> nb_namespaces</code></em>,
478
+ <em class="parameter"><code>const <span class="type">xmlChar</span> **namespaces</code></em>,
479
+ <em class="parameter"><code><span class="type">int</span> nb_attributes</code></em>,
480
+ <em class="parameter"><code><span class="type">int</span> nb_defaulted</code></em>,
481
+ <em class="parameter"><code>const <span class="type">xmlChar</span> **attributes</code></em>);</pre>
482
+ <p>
483
+ </p>
484
+ <div class="refsect3">
485
+ <a name="id-1.6.5.3.9.4.5"></a><h4>Returns</h4>
486
+ <p></p>
487
+ </div>
488
+ </div>
489
+ <hr>
490
+ <div class="refsect2">
491
+ <a name="GSF-XML-IN-NODE-FULL:CAPS"></a><h3>GSF_XML_IN_NODE_FULL()</h3>
492
+ <pre class="programlisting">#define GSF_XML_IN_NODE_FULL(parent_id, id, ns, name, has_content, \
493
+ share_children_with_parent, check_ns, start, end, user)</pre>
494
+ <p>
495
+ </p>
496
+ </div>
497
+ <hr>
498
+ <div class="refsect2">
499
+ <a name="GSF-XML-IN-NODE:CAPS"></a><h3>GSF_XML_IN_NODE()</h3>
500
+ <pre class="programlisting">#define GSF_XML_IN_NODE(parent_id, id, ns, name, has_content, start, end)</pre>
501
+ <p>
502
+ </p>
503
+ </div>
504
+ <hr>
505
+ <div class="refsect2">
506
+ <a name="GSF-XML-IN-NS:CAPS"></a><h3>GSF_XML_IN_NS()</h3>
507
+ <pre class="programlisting">#define GSF_XML_IN_NS(id, uri)</pre>
508
+ <p>
509
+ </p>
510
+ </div>
511
+ <hr>
512
+ <div class="refsect2">
513
+ <a name="gsf-xml-in-doc-new"></a><h3>gsf_xml_in_doc_new ()</h3>
514
+ <pre class="programlisting"><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc"><span class="returnvalue">GsfXMLInDoc</span></a> *
515
+ gsf_xml_in_doc_new (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInNode" title="GsfXMLInNode"><span class="type">GsfXMLInNode</span></a> const *nodes</code></em>,
516
+ <em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInNS" title="GsfXMLInNS"><span class="type">GsfXMLInNS</span></a> const *ns</code></em>);</pre>
517
+ <p>Combine the nodes in the <code class="literal">NULL</code> terminated array starting at <em class="parameter"><code>nodes</code></em>
518
+ with the
519
+ name spaces in the <code class="literal">NULL</code> terminated array starting at <em class="parameter"><code>ns</code></em>
520
+ . Prepare the
521
+ data structures necessary to validate a doument based on that description.</p>
522
+ <div class="refsect3">
523
+ <a name="id-1.6.5.3.9.8.5"></a><h4>Parameters</h4>
524
+ <div class="informaltable"><table width="100%" border="0">
525
+ <colgroup>
526
+ <col width="150px" class="parameters_name">
527
+ <col class="parameters_description">
528
+ <col width="200px" class="parameters_annotations">
529
+ </colgroup>
530
+ <tbody>
531
+ <tr>
532
+ <td class="parameter_name"><p>nodes</p></td>
533
+ <td class="parameter_description"><p>an array of node descriptors</p></td>
534
+ <td class="parameter_annotations"> </td>
535
+ </tr>
536
+ <tr>
537
+ <td class="parameter_name"><p>ns</p></td>
538
+ <td class="parameter_description"><p>an array of namespace identifiers</p></td>
539
+ <td class="parameter_annotations"> </td>
540
+ </tr>
541
+ </tbody>
542
+ </table></div>
543
+ </div>
544
+ <div class="refsect3">
545
+ <a name="id-1.6.5.3.9.8.6"></a><h4>Returns</h4>
546
+ <p> <code class="literal">NULL</code> on error</p>
547
+ <p></p>
548
+ </div>
549
+ </div>
550
+ <hr>
551
+ <div class="refsect2">
552
+ <a name="gsf-xml-in-doc-free"></a><h3>gsf_xml_in_doc_free ()</h3>
553
+ <pre class="programlisting"><span class="returnvalue">void</span>
554
+ gsf_xml_in_doc_free (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc"><span class="type">GsfXMLInDoc</span></a> *doc</code></em>);</pre>
555
+ <p>Free up resources</p>
556
+ <div class="refsect3">
557
+ <a name="id-1.6.5.3.9.9.5"></a><h4>Parameters</h4>
558
+ <div class="informaltable"><table width="100%" border="0">
559
+ <colgroup>
560
+ <col width="150px" class="parameters_name">
561
+ <col class="parameters_description">
562
+ <col width="200px" class="parameters_annotations">
563
+ </colgroup>
564
+ <tbody><tr>
565
+ <td class="parameter_name"><p>doc</p></td>
566
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc"><span class="type">GsfXMLInDoc</span></a></p></td>
567
+ <td class="parameter_annotations"> </td>
568
+ </tr></tbody>
569
+ </table></div>
570
+ </div>
571
+ </div>
572
+ <hr>
573
+ <div class="refsect2">
574
+ <a name="gsf-xml-in-doc-add-nodes"></a><h3>gsf_xml_in_doc_add_nodes ()</h3>
575
+ <pre class="programlisting"><span class="returnvalue">void</span>
576
+ gsf_xml_in_doc_add_nodes (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc"><span class="type">GsfXMLInDoc</span></a> *doc</code></em>,
577
+ <em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInNode" title="GsfXMLInNode"><span class="type">GsfXMLInNode</span></a> const *nodes</code></em>);</pre>
578
+ <p>Adds additional nodes to the structure of <em class="parameter"><code>doc</code></em>
579
+ </p>
580
+ <div class="refsect3">
581
+ <a name="id-1.6.5.3.9.10.5"></a><h4>Parameters</h4>
582
+ <div class="informaltable"><table width="100%" border="0">
583
+ <colgroup>
584
+ <col width="150px" class="parameters_name">
585
+ <col class="parameters_description">
586
+ <col width="200px" class="parameters_annotations">
587
+ </colgroup>
588
+ <tbody>
589
+ <tr>
590
+ <td class="parameter_name"><p>doc</p></td>
591
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc"><span class="type">GsfXMLInDoc</span></a></p></td>
592
+ <td class="parameter_annotations"> </td>
593
+ </tr>
594
+ <tr>
595
+ <td class="parameter_name"><p>nodes</p></td>
596
+ <td class="parameter_description"><p><code class="literal">NULL</code> terminated array of <a class="link" href="gsf-XML-and-libxml.html#GsfXMLInNode" title="GsfXMLInNode"><span class="type">GsfXMLInNode</span></a></p></td>
597
+ <td class="parameter_annotations"> </td>
598
+ </tr>
599
+ </tbody>
600
+ </table></div>
601
+ </div>
602
+ </div>
603
+ <hr>
604
+ <div class="refsect2">
605
+ <a name="gsf-xml-in-doc-parse"></a><h3>gsf_xml_in_doc_parse ()</h3>
606
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
607
+ gsf_xml_in_doc_parse (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc"><span class="type">GsfXMLInDoc</span></a> *doc</code></em>,
608
+ <em class="parameter"><code><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a> *input</code></em>,
609
+ <em class="parameter"><code><span class="type">gpointer</span> user_state</code></em>);</pre>
610
+ <p>Read an xml document from <em class="parameter"><code>input</code></em>
611
+ and parse based on the the descriptor in
612
+ <em class="parameter"><code>doc</code></em>
613
+ </p>
614
+ <div class="refsect3">
615
+ <a name="id-1.6.5.3.9.11.5"></a><h4>Parameters</h4>
616
+ <div class="informaltable"><table width="100%" border="0">
617
+ <colgroup>
618
+ <col width="150px" class="parameters_name">
619
+ <col class="parameters_description">
620
+ <col width="200px" class="parameters_annotations">
621
+ </colgroup>
622
+ <tbody>
623
+ <tr>
624
+ <td class="parameter_name"><p>doc</p></td>
625
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc"><span class="type">GsfXMLInDoc</span></a></p></td>
626
+ <td class="parameter_annotations"> </td>
627
+ </tr>
628
+ <tr>
629
+ <td class="parameter_name"><p>input</p></td>
630
+ <td class="parameter_description"><p><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a></p></td>
631
+ <td class="parameter_annotations"> </td>
632
+ </tr>
633
+ <tr>
634
+ <td class="parameter_name"><p>user_state</p></td>
635
+ <td class="parameter_description"><p>arbitrary content stored in the parser</p></td>
636
+ <td class="parameter_annotations"> </td>
637
+ </tr>
638
+ </tbody>
639
+ </table></div>
640
+ </div>
641
+ <div class="refsect3">
642
+ <a name="id-1.6.5.3.9.11.6"></a><h4>Returns</h4>
643
+ <p> <code class="literal">FALSE</code> on error</p>
644
+ <p></p>
645
+ </div>
646
+ </div>
647
+ <hr>
648
+ <div class="refsect2">
649
+ <a name="gsf-xml-in-doc-set-unknown-handler"></a><h3>gsf_xml_in_doc_set_unknown_handler ()</h3>
650
+ <pre class="programlisting"><span class="returnvalue">void</span>
651
+ gsf_xml_in_doc_set_unknown_handler (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc"><span class="type">GsfXMLInDoc</span></a> *doc</code></em>,
652
+ <em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInUnknownFunc" title="GsfXMLInUnknownFunc ()"><span class="type">GsfXMLInUnknownFunc</span></a> handler</code></em>);</pre>
653
+ <p>Call the function <em class="parameter"><code>handler</code></em>
654
+ when an unexpected child node is found</p>
655
+ <div class="refsect3">
656
+ <a name="id-1.6.5.3.9.12.5"></a><h4>Parameters</h4>
657
+ <div class="informaltable"><table width="100%" border="0">
658
+ <colgroup>
659
+ <col width="150px" class="parameters_name">
660
+ <col class="parameters_description">
661
+ <col width="200px" class="parameters_annotations">
662
+ </colgroup>
663
+ <tbody>
664
+ <tr>
665
+ <td class="parameter_name"><p>doc</p></td>
666
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc"><span class="type">GsfXMLInDoc</span></a></p></td>
667
+ <td class="parameter_annotations"> </td>
668
+ </tr>
669
+ <tr>
670
+ <td class="parameter_name"><p>handler</p></td>
671
+ <td class="parameter_description"><p> The function to call. </p></td>
672
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span></td>
673
+ </tr>
674
+ </tbody>
675
+ </table></div>
676
+ </div>
677
+ </div>
678
+ <hr>
679
+ <div class="refsect2">
680
+ <a name="gsf-xml-in-push-state"></a><h3>gsf_xml_in_push_state ()</h3>
681
+ <pre class="programlisting"><span class="returnvalue">void</span>
682
+ gsf_xml_in_push_state (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLIn" title="GsfXMLIn"><span class="type">GsfXMLIn</span></a> *xin</code></em>,
683
+ <em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc"><span class="type">GsfXMLInDoc</span></a> const *doc</code></em>,
684
+ <em class="parameter"><code><span class="type">gpointer</span> new_state</code></em>,
685
+ <em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInExtDtor" title="GsfXMLInExtDtor ()"><span class="type">GsfXMLInExtDtor</span></a> dtor</code></em>,
686
+ <em class="parameter"><code><span class="type">xmlChar</span> const **attrs</code></em>);</pre>
687
+ <p>Take the first node from <em class="parameter"><code>doc</code></em>
688
+ as the current node and call its start handler.</p>
689
+ <div class="refsect3">
690
+ <a name="id-1.6.5.3.9.13.5"></a><h4>Parameters</h4>
691
+ <div class="informaltable"><table width="100%" border="0">
692
+ <colgroup>
693
+ <col width="150px" class="parameters_name">
694
+ <col class="parameters_description">
695
+ <col width="200px" class="parameters_annotations">
696
+ </colgroup>
697
+ <tbody>
698
+ <tr>
699
+ <td class="parameter_name"><p>xin</p></td>
700
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLIn" title="GsfXMLIn"><span class="type">GsfXMLIn</span></a></p></td>
701
+ <td class="parameter_annotations"> </td>
702
+ </tr>
703
+ <tr>
704
+ <td class="parameter_name"><p>doc</p></td>
705
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc"><span class="type">GsfXMLInDoc</span></a></p></td>
706
+ <td class="parameter_annotations"> </td>
707
+ </tr>
708
+ <tr>
709
+ <td class="parameter_name"><p>new_state</p></td>
710
+ <td class="parameter_description"><p>arbitrary content for the parser</p></td>
711
+ <td class="parameter_annotations"> </td>
712
+ </tr>
713
+ <tr>
714
+ <td class="parameter_name"><p>dtor</p></td>
715
+ <td class="parameter_description"><p> <a class="link" href="gsf-XML-and-libxml.html#GsfXMLInExtDtor" title="GsfXMLInExtDtor ()"><span class="type">GsfXMLInExtDtor</span></a>. </p></td>
716
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span></td>
717
+ </tr>
718
+ <tr>
719
+ <td class="parameter_name"><p>attrs</p></td>
720
+ <td class="parameter_description"><p>array of xmlChar const *</p></td>
721
+ <td class="parameter_annotations"> </td>
722
+ </tr>
723
+ </tbody>
724
+ </table></div>
725
+ </div>
726
+ </div>
727
+ <hr>
728
+ <div class="refsect2">
729
+ <a name="gsf-xml-in-namecmp"></a><h3>gsf_xml_in_namecmp ()</h3>
730
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
731
+ gsf_xml_in_namecmp (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLIn" title="GsfXMLIn"><span class="type">GsfXMLIn</span></a> const *xin</code></em>,
732
+ <em class="parameter"><code><span class="type">char</span> const *str</code></em>,
733
+ <em class="parameter"><code>unsigned <span class="type">int</span> ns_id</code></em>,
734
+ <em class="parameter"><code><span class="type">char</span> const *name</code></em>);</pre>
735
+ <p>Checks to see if <em class="parameter"><code>str</code></em>
736
+ is the same as <em class="parameter"><code>ns_id</code></em>
737
+ ::<em class="parameter"><code>name</code></em>
738
+ with either an explicit
739
+ namespace or the current default namespace.</p>
740
+ <div class="refsect3">
741
+ <a name="id-1.6.5.3.9.14.5"></a><h4>Parameters</h4>
742
+ <div class="informaltable"><table width="100%" border="0">
743
+ <colgroup>
744
+ <col width="150px" class="parameters_name">
745
+ <col class="parameters_description">
746
+ <col width="200px" class="parameters_annotations">
747
+ </colgroup>
748
+ <tbody>
749
+ <tr>
750
+ <td class="parameter_name"><p>xin</p></td>
751
+ <td class="parameter_description"><p>The <a class="link" href="gsf-XML-and-libxml.html#GsfXMLIn" title="GsfXMLIn"><span class="type">GsfXMLIn</span></a> we are reading from.</p></td>
752
+ <td class="parameter_annotations"> </td>
753
+ </tr>
754
+ <tr>
755
+ <td class="parameter_name"><p>str</p></td>
756
+ <td class="parameter_description"><p>The potentially namespace qualified node name.</p></td>
757
+ <td class="parameter_annotations"> </td>
758
+ </tr>
759
+ <tr>
760
+ <td class="parameter_name"><p>ns_id</p></td>
761
+ <td class="parameter_description"><p>The name space id to check</p></td>
762
+ <td class="parameter_annotations"> </td>
763
+ </tr>
764
+ <tr>
765
+ <td class="parameter_name"><p>name</p></td>
766
+ <td class="parameter_description"><p>The target node name</p></td>
767
+ <td class="parameter_annotations"> </td>
768
+ </tr>
769
+ </tbody>
770
+ </table></div>
771
+ </div>
772
+ <div class="refsect3">
773
+ <a name="id-1.6.5.3.9.14.6"></a><h4>Returns</h4>
774
+ <p> <code class="literal">TRUE</code> if <em class="parameter"><code>str</code></em>
775
+ == <em class="parameter"><code>ns_id</code></em>
776
+ :<em class="parameter"><code>name</code></em>
777
+ according to <em class="parameter"><code>state</code></em>
778
+ .</p>
779
+ <p></p>
780
+ </div>
781
+ </div>
782
+ <hr>
783
+ <div class="refsect2">
784
+ <a name="gsf-xml-in-check-ns"></a><h3>gsf_xml_in_check_ns ()</h3>
785
+ <pre class="programlisting"><span class="returnvalue">char</span> const *
786
+ gsf_xml_in_check_ns (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLIn" title="GsfXMLIn"><span class="type">GsfXMLIn</span></a> const *xin</code></em>,
787
+ <em class="parameter"><code><span class="type">char</span> const *str</code></em>,
788
+ <em class="parameter"><code>unsigned <span class="type">int</span> ns_id</code></em>);</pre>
789
+ <p>According to <em class="parameter"><code>state</code></em>
790
+ is <em class="parameter"><code>str</code></em>
791
+ in the namespace <em class="parameter"><code>ns_id</code></em>
792
+ ?</p>
793
+ <div class="refsect3">
794
+ <a name="id-1.6.5.3.9.15.5"></a><h4>Parameters</h4>
795
+ <div class="informaltable"><table width="100%" border="0">
796
+ <colgroup>
797
+ <col width="150px" class="parameters_name">
798
+ <col class="parameters_description">
799
+ <col width="200px" class="parameters_annotations">
800
+ </colgroup>
801
+ <tbody>
802
+ <tr>
803
+ <td class="parameter_name"><p>xin</p></td>
804
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLIn" title="GsfXMLIn"><span class="type">GsfXMLIn</span></a></p></td>
805
+ <td class="parameter_annotations"> </td>
806
+ </tr>
807
+ <tr>
808
+ <td class="parameter_name"><p>str</p></td>
809
+ <td class="parameter_description"><p>string to check</p></td>
810
+ <td class="parameter_annotations"> </td>
811
+ </tr>
812
+ <tr>
813
+ <td class="parameter_name"><p>ns_id</p></td>
814
+ <td class="parameter_description"><p>the namespace id</p></td>
815
+ <td class="parameter_annotations"> </td>
816
+ </tr>
817
+ </tbody>
818
+ </table></div>
819
+ </div>
820
+ <div class="refsect3">
821
+ <a name="id-1.6.5.3.9.15.6"></a><h4>Returns</h4>
822
+ <p> a pointer to <em class="parameter"><code>str</code></em>
823
+ after the namespace if
824
+ successful, otherwise <code class="literal">NULL</code>. </p>
825
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
826
+ </div>
827
+ </div>
828
+ <hr>
829
+ <div class="refsect2">
830
+ <a name="gsf-xml-in-get-input"></a><h3>gsf_xml_in_get_input ()</h3>
831
+ <pre class="programlisting"><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
832
+ gsf_xml_in_get_input (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLIn" title="GsfXMLIn"><span class="type">GsfXMLIn</span></a> const *xin</code></em>);</pre>
833
+ <p>(New in 1.14.2)</p>
834
+ <div class="refsect3">
835
+ <a name="id-1.6.5.3.9.16.5"></a><h4>Parameters</h4>
836
+ <div class="informaltable"><table width="100%" border="0">
837
+ <colgroup>
838
+ <col width="150px" class="parameters_name">
839
+ <col class="parameters_description">
840
+ <col width="200px" class="parameters_annotations">
841
+ </colgroup>
842
+ <tbody><tr>
843
+ <td class="parameter_name"><p>xin</p></td>
844
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLIn" title="GsfXMLIn"><span class="type">GsfXMLIn</span></a></p></td>
845
+ <td class="parameter_annotations"> </td>
846
+ </tr></tbody>
847
+ </table></div>
848
+ </div>
849
+ <div class="refsect3">
850
+ <a name="id-1.6.5.3.9.16.6"></a><h4>Returns</h4>
851
+ <p> (but does not reference) the stream being parsed. </p>
852
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
853
+ </div>
854
+ </div>
855
+ <hr>
856
+ <div class="refsect2">
857
+ <a name="gsf-xml-probe"></a><h3>gsf_xml_probe ()</h3>
858
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
859
+ gsf_xml_probe (<em class="parameter"><code><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a> *input</code></em>,
860
+ <em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLProbeFunc" title="GsfXMLProbeFunc ()"><span class="type">GsfXMLProbeFunc</span></a> func</code></em>);</pre>
861
+ <div class="refsect3">
862
+ <a name="id-1.6.5.3.9.17.4"></a><h4>Parameters</h4>
863
+ <div class="informaltable"><table width="100%" border="0">
864
+ <colgroup>
865
+ <col width="150px" class="parameters_name">
866
+ <col class="parameters_description">
867
+ <col width="200px" class="parameters_annotations">
868
+ </colgroup>
869
+ <tbody>
870
+ <tr>
871
+ <td class="parameter_name"><p>input</p></td>
872
+ <td class="parameter_description"><p><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a></p></td>
873
+ <td class="parameter_annotations"> </td>
874
+ </tr>
875
+ <tr>
876
+ <td class="parameter_name"><p>func</p></td>
877
+ <td class="parameter_description"><p> <a class="link" href="gsf-XML-and-libxml.html#GsfXMLProbeFunc" title="GsfXMLProbeFunc ()"><span class="type">GsfXMLProbeFunc</span></a>. </p></td>
878
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span></td>
879
+ </tr>
880
+ </tbody>
881
+ </table></div>
882
+ </div>
883
+ <div class="refsect3">
884
+ <a name="id-1.6.5.3.9.17.5"></a><h4>Returns</h4>
885
+ <p> TRUE on success.</p>
886
+ <p></p>
887
+ </div>
888
+ </div>
889
+ <hr>
890
+ <div class="refsect2">
891
+ <a name="gsf-xml-out-new"></a><h3>gsf_xml_out_new ()</h3>
892
+ <pre class="programlisting"><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="returnvalue">GsfXMLOut</span></a> *
893
+ gsf_xml_out_new (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *output</code></em>);</pre>
894
+ <p>Create an XML output stream.</p>
895
+ <div class="refsect3">
896
+ <a name="id-1.6.5.3.9.18.5"></a><h4>Parameters</h4>
897
+ <div class="informaltable"><table width="100%" border="0">
898
+ <colgroup>
899
+ <col width="150px" class="parameters_name">
900
+ <col class="parameters_description">
901
+ <col width="200px" class="parameters_annotations">
902
+ </colgroup>
903
+ <tbody><tr>
904
+ <td class="parameter_name"><p>output</p></td>
905
+ <td class="parameter_description"><p><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a></p></td>
906
+ <td class="parameter_annotations"> </td>
907
+ </tr></tbody>
908
+ </table></div>
909
+ </div>
910
+ <div class="refsect3">
911
+ <a name="id-1.6.5.3.9.18.6"></a><h4>Returns</h4>
912
+ <p> <a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p>
913
+ <p></p>
914
+ </div>
915
+ </div>
916
+ <hr>
917
+ <div class="refsect2">
918
+ <a name="gsf-xml-out-set-doc-type"></a><h3>gsf_xml_out_set_doc_type ()</h3>
919
+ <pre class="programlisting"><span class="returnvalue">void</span>
920
+ gsf_xml_out_set_doc_type (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
921
+ <em class="parameter"><code><span class="type">char</span> const *type</code></em>);</pre>
922
+ <p>Store some optional &lt;!DOCTYPE .. &gt; content</p>
923
+ <div class="refsect3">
924
+ <a name="id-1.6.5.3.9.19.5"></a><h4>Parameters</h4>
925
+ <div class="informaltable"><table width="100%" border="0">
926
+ <colgroup>
927
+ <col width="150px" class="parameters_name">
928
+ <col class="parameters_description">
929
+ <col width="200px" class="parameters_annotations">
930
+ </colgroup>
931
+ <tbody>
932
+ <tr>
933
+ <td class="parameter_name"><p>xout</p></td>
934
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
935
+ <td class="parameter_annotations"> </td>
936
+ </tr>
937
+ <tr>
938
+ <td class="parameter_name"><p>type</p></td>
939
+ <td class="parameter_description"><p>the document type declaration</p></td>
940
+ <td class="parameter_annotations"> </td>
941
+ </tr>
942
+ </tbody>
943
+ </table></div>
944
+ </div>
945
+ </div>
946
+ <hr>
947
+ <div class="refsect2">
948
+ <a name="gsf-xml-out-get-output"></a><h3>gsf_xml_out_get_output ()</h3>
949
+ <pre class="programlisting"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> *
950
+ gsf_xml_out_get_output (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> const *xout</code></em>);</pre>
951
+ <p>Get the <a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a> we are parsing from.</p>
952
+ <div class="refsect3">
953
+ <a name="id-1.6.5.3.9.20.5"></a><h4>Parameters</h4>
954
+ <div class="informaltable"><table width="100%" border="0">
955
+ <colgroup>
956
+ <col width="150px" class="parameters_name">
957
+ <col class="parameters_description">
958
+ <col width="200px" class="parameters_annotations">
959
+ </colgroup>
960
+ <tbody><tr>
961
+ <td class="parameter_name"><p>xout</p></td>
962
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
963
+ <td class="parameter_annotations"> </td>
964
+ </tr></tbody>
965
+ </table></div>
966
+ </div>
967
+ <div class="refsect3">
968
+ <a name="id-1.6.5.3.9.20.6"></a><h4>Returns</h4>
969
+ <p> <a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a> or <code class="literal">NULL</code>. </p>
970
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
971
+ </div>
972
+ </div>
973
+ <hr>
974
+ <div class="refsect2">
975
+ <a name="gsf-xml-out-start-element"></a><h3>gsf_xml_out_start_element ()</h3>
976
+ <pre class="programlisting"><span class="returnvalue">void</span>
977
+ gsf_xml_out_start_element (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
978
+ <em class="parameter"><code><span class="type">char</span> const *id</code></em>);</pre>
979
+ <p>Output a start element <em class="parameter"><code>id</code></em>
980
+ , if necessary preceeded by an XML declaration.</p>
981
+ <div class="refsect3">
982
+ <a name="id-1.6.5.3.9.21.5"></a><h4>Parameters</h4>
983
+ <div class="informaltable"><table width="100%" border="0">
984
+ <colgroup>
985
+ <col width="150px" class="parameters_name">
986
+ <col class="parameters_description">
987
+ <col width="200px" class="parameters_annotations">
988
+ </colgroup>
989
+ <tbody>
990
+ <tr>
991
+ <td class="parameter_name"><p>xout</p></td>
992
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
993
+ <td class="parameter_annotations"> </td>
994
+ </tr>
995
+ <tr>
996
+ <td class="parameter_name"><p>id</p></td>
997
+ <td class="parameter_description"><p>Element name</p></td>
998
+ <td class="parameter_annotations"> </td>
999
+ </tr>
1000
+ </tbody>
1001
+ </table></div>
1002
+ </div>
1003
+ </div>
1004
+ <hr>
1005
+ <div class="refsect2">
1006
+ <a name="gsf-xml-out-end-element"></a><h3>gsf_xml_out_end_element ()</h3>
1007
+ <pre class="programlisting"><span class="returnvalue">char</span> const *
1008
+ gsf_xml_out_end_element (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>);</pre>
1009
+ <p>Closes/ends an XML element.</p>
1010
+ <div class="refsect3">
1011
+ <a name="id-1.6.5.3.9.22.5"></a><h4>Parameters</h4>
1012
+ <div class="informaltable"><table width="100%" border="0">
1013
+ <colgroup>
1014
+ <col width="150px" class="parameters_name">
1015
+ <col class="parameters_description">
1016
+ <col width="200px" class="parameters_annotations">
1017
+ </colgroup>
1018
+ <tbody><tr>
1019
+ <td class="parameter_name"><p>xout</p></td>
1020
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
1021
+ <td class="parameter_annotations"> </td>
1022
+ </tr></tbody>
1023
+ </table></div>
1024
+ </div>
1025
+ <div class="refsect3">
1026
+ <a name="id-1.6.5.3.9.22.6"></a><h4>Returns</h4>
1027
+ <p> the element that has been closed. </p>
1028
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1029
+ </div>
1030
+ </div>
1031
+ <hr>
1032
+ <div class="refsect2">
1033
+ <a name="gsf-xml-out-add-cstr"></a><h3>gsf_xml_out_add_cstr ()</h3>
1034
+ <pre class="programlisting"><span class="returnvalue">void</span>
1035
+ gsf_xml_out_add_cstr (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
1036
+ <em class="parameter"><code><span class="type">char</span> const *id</code></em>,
1037
+ <em class="parameter"><code><span class="type">char</span> const *val_utf8</code></em>);</pre>
1038
+ <p>dump <em class="parameter"><code>val_utf8</code></em>
1039
+ to an attribute named <em class="parameter"><code>id</code></em>
1040
+ or as the nodes content escaping
1041
+ characters as necessary. If <em class="parameter"><code>val_utf8</code></em>
1042
+ is <code class="literal">NULL</code> do nothing (no warning, no
1043
+ output)</p>
1044
+ <div class="refsect3">
1045
+ <a name="id-1.6.5.3.9.23.5"></a><h4>Parameters</h4>
1046
+ <div class="informaltable"><table width="100%" border="0">
1047
+ <colgroup>
1048
+ <col width="150px" class="parameters_name">
1049
+ <col class="parameters_description">
1050
+ <col width="200px" class="parameters_annotations">
1051
+ </colgroup>
1052
+ <tbody>
1053
+ <tr>
1054
+ <td class="parameter_name"><p>xout</p></td>
1055
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
1056
+ <td class="parameter_annotations"> </td>
1057
+ </tr>
1058
+ <tr>
1059
+ <td class="parameter_name"><p>id</p></td>
1060
+ <td class="parameter_description"><p> tag id or <code class="literal">NULL</code> for content. </p></td>
1061
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1062
+ </tr>
1063
+ <tr>
1064
+ <td class="parameter_name"><p>val_utf8</p></td>
1065
+ <td class="parameter_description"><p> a utf8 encoded string. </p></td>
1066
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1067
+ </tr>
1068
+ </tbody>
1069
+ </table></div>
1070
+ </div>
1071
+ </div>
1072
+ <hr>
1073
+ <div class="refsect2">
1074
+ <a name="gsf-xml-out-add-cstr-unchecked"></a><h3>gsf_xml_out_add_cstr_unchecked ()</h3>
1075
+ <pre class="programlisting"><span class="returnvalue">void</span>
1076
+ gsf_xml_out_add_cstr_unchecked (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
1077
+ <em class="parameter"><code><span class="type">char</span> const *id</code></em>,
1078
+ <em class="parameter"><code><span class="type">char</span> const *val_utf8</code></em>);</pre>
1079
+ <p>dump <em class="parameter"><code>val_utf8</code></em>
1080
+ to an attribute named <em class="parameter"><code>id</code></em>
1081
+ without checking to see if
1082
+ the content needs escaping. A useful performance enhancement when
1083
+ the application knows that structure of the content well. If
1084
+ <em class="parameter"><code>val_utf8</code></em>
1085
+ is <code class="literal">NULL</code> do nothing (no warning, no output)</p>
1086
+ <div class="refsect3">
1087
+ <a name="id-1.6.5.3.9.24.5"></a><h4>Parameters</h4>
1088
+ <div class="informaltable"><table width="100%" border="0">
1089
+ <colgroup>
1090
+ <col width="150px" class="parameters_name">
1091
+ <col class="parameters_description">
1092
+ <col width="200px" class="parameters_annotations">
1093
+ </colgroup>
1094
+ <tbody>
1095
+ <tr>
1096
+ <td class="parameter_name"><p>xout</p></td>
1097
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
1098
+ <td class="parameter_annotations"> </td>
1099
+ </tr>
1100
+ <tr>
1101
+ <td class="parameter_name"><p>id</p></td>
1102
+ <td class="parameter_description"><p> tag id or <code class="literal">NULL</code> for content. </p></td>
1103
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1104
+ </tr>
1105
+ <tr>
1106
+ <td class="parameter_name"><p>val_utf8</p></td>
1107
+ <td class="parameter_description"><p> a utf8 encoded string to export. </p></td>
1108
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1109
+ </tr>
1110
+ </tbody>
1111
+ </table></div>
1112
+ </div>
1113
+ </div>
1114
+ <hr>
1115
+ <div class="refsect2">
1116
+ <a name="gsf-xml-out-add-bool"></a><h3>gsf_xml_out_add_bool ()</h3>
1117
+ <pre class="programlisting"><span class="returnvalue">void</span>
1118
+ gsf_xml_out_add_bool (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
1119
+ <em class="parameter"><code><span class="type">char</span> const *id</code></em>,
1120
+ <em class="parameter"><code><span class="type">gboolean</span> val</code></em>);</pre>
1121
+ <p>dump boolean value <em class="parameter"><code>val</code></em>
1122
+ to an attribute named <em class="parameter"><code>id</code></em>
1123
+ or as the nodes content
1124
+ Use '1' or '0' to simplify import</p>
1125
+ <div class="refsect3">
1126
+ <a name="id-1.6.5.3.9.25.5"></a><h4>Parameters</h4>
1127
+ <div class="informaltable"><table width="100%" border="0">
1128
+ <colgroup>
1129
+ <col width="150px" class="parameters_name">
1130
+ <col class="parameters_description">
1131
+ <col width="200px" class="parameters_annotations">
1132
+ </colgroup>
1133
+ <tbody>
1134
+ <tr>
1135
+ <td class="parameter_name"><p>xout</p></td>
1136
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
1137
+ <td class="parameter_annotations"> </td>
1138
+ </tr>
1139
+ <tr>
1140
+ <td class="parameter_name"><p>id</p></td>
1141
+ <td class="parameter_description"><p> tag id or <code class="literal">NULL</code> for content. </p></td>
1142
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1143
+ </tr>
1144
+ <tr>
1145
+ <td class="parameter_name"><p>val</p></td>
1146
+ <td class="parameter_description"><p>a boolean</p></td>
1147
+ <td class="parameter_annotations"> </td>
1148
+ </tr>
1149
+ </tbody>
1150
+ </table></div>
1151
+ </div>
1152
+ </div>
1153
+ <hr>
1154
+ <div class="refsect2">
1155
+ <a name="gsf-xml-out-add-int"></a><h3>gsf_xml_out_add_int ()</h3>
1156
+ <pre class="programlisting"><span class="returnvalue">void</span>
1157
+ gsf_xml_out_add_int (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
1158
+ <em class="parameter"><code><span class="type">char</span> const *id</code></em>,
1159
+ <em class="parameter"><code><span class="type">int</span> val</code></em>);</pre>
1160
+ <p>dump integer value <em class="parameter"><code>val</code></em>
1161
+ to an attribute named <em class="parameter"><code>id</code></em>
1162
+ or as the nodes content</p>
1163
+ <div class="refsect3">
1164
+ <a name="id-1.6.5.3.9.26.5"></a><h4>Parameters</h4>
1165
+ <div class="informaltable"><table width="100%" border="0">
1166
+ <colgroup>
1167
+ <col width="150px" class="parameters_name">
1168
+ <col class="parameters_description">
1169
+ <col width="200px" class="parameters_annotations">
1170
+ </colgroup>
1171
+ <tbody>
1172
+ <tr>
1173
+ <td class="parameter_name"><p>xout</p></td>
1174
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
1175
+ <td class="parameter_annotations"> </td>
1176
+ </tr>
1177
+ <tr>
1178
+ <td class="parameter_name"><p>id</p></td>
1179
+ <td class="parameter_description"><p> tag id or <code class="literal">NULL</code> for content. </p></td>
1180
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1181
+ </tr>
1182
+ <tr>
1183
+ <td class="parameter_name"><p>val</p></td>
1184
+ <td class="parameter_description"><p>the value</p></td>
1185
+ <td class="parameter_annotations"> </td>
1186
+ </tr>
1187
+ </tbody>
1188
+ </table></div>
1189
+ </div>
1190
+ </div>
1191
+ <hr>
1192
+ <div class="refsect2">
1193
+ <a name="gsf-xml-out-add-uint"></a><h3>gsf_xml_out_add_uint ()</h3>
1194
+ <pre class="programlisting"><span class="returnvalue">void</span>
1195
+ gsf_xml_out_add_uint (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
1196
+ <em class="parameter"><code><span class="type">char</span> const *id</code></em>,
1197
+ <em class="parameter"><code>unsigned <span class="type">int</span> val</code></em>);</pre>
1198
+ <p>dump unsigned integer value <em class="parameter"><code>val</code></em>
1199
+ to an attribute named <em class="parameter"><code>id</code></em>
1200
+ or as the nodes
1201
+ content</p>
1202
+ <div class="refsect3">
1203
+ <a name="id-1.6.5.3.9.27.5"></a><h4>Parameters</h4>
1204
+ <div class="informaltable"><table width="100%" border="0">
1205
+ <colgroup>
1206
+ <col width="150px" class="parameters_name">
1207
+ <col class="parameters_description">
1208
+ <col width="200px" class="parameters_annotations">
1209
+ </colgroup>
1210
+ <tbody>
1211
+ <tr>
1212
+ <td class="parameter_name"><p>xout</p></td>
1213
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
1214
+ <td class="parameter_annotations"> </td>
1215
+ </tr>
1216
+ <tr>
1217
+ <td class="parameter_name"><p>id</p></td>
1218
+ <td class="parameter_description"><p> tag id or <code class="literal">NULL</code> for content. </p></td>
1219
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1220
+ </tr>
1221
+ <tr>
1222
+ <td class="parameter_name"><p>val</p></td>
1223
+ <td class="parameter_description"><p>the value</p></td>
1224
+ <td class="parameter_annotations"> </td>
1225
+ </tr>
1226
+ </tbody>
1227
+ </table></div>
1228
+ </div>
1229
+ </div>
1230
+ <hr>
1231
+ <div class="refsect2">
1232
+ <a name="gsf-xml-out-add-float"></a><h3>gsf_xml_out_add_float ()</h3>
1233
+ <pre class="programlisting"><span class="returnvalue">void</span>
1234
+ gsf_xml_out_add_float (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
1235
+ <em class="parameter"><code><span class="type">char</span> const *id</code></em>,
1236
+ <em class="parameter"><code><span class="type">double</span> val</code></em>,
1237
+ <em class="parameter"><code><span class="type">int</span> precision</code></em>);</pre>
1238
+ <p>dump float value <em class="parameter"><code>val</code></em>
1239
+ to an attribute named <em class="parameter"><code>id</code></em>
1240
+ or as the nodes
1241
+ content with precision <em class="parameter"><code>precision</code></em>
1242
+ . The number will be formattted
1243
+ according to the "C" locale.</p>
1244
+ <div class="refsect3">
1245
+ <a name="id-1.6.5.3.9.28.5"></a><h4>Parameters</h4>
1246
+ <div class="informaltable"><table width="100%" border="0">
1247
+ <colgroup>
1248
+ <col width="150px" class="parameters_name">
1249
+ <col class="parameters_description">
1250
+ <col width="200px" class="parameters_annotations">
1251
+ </colgroup>
1252
+ <tbody>
1253
+ <tr>
1254
+ <td class="parameter_name"><p>xout</p></td>
1255
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
1256
+ <td class="parameter_annotations"> </td>
1257
+ </tr>
1258
+ <tr>
1259
+ <td class="parameter_name"><p>id</p></td>
1260
+ <td class="parameter_description"><p> tag id or <code class="literal">NULL</code> for content. </p></td>
1261
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1262
+ </tr>
1263
+ <tr>
1264
+ <td class="parameter_name"><p>val</p></td>
1265
+ <td class="parameter_description"><p>the value</p></td>
1266
+ <td class="parameter_annotations"> </td>
1267
+ </tr>
1268
+ <tr>
1269
+ <td class="parameter_name"><p>precision</p></td>
1270
+ <td class="parameter_description"><p>the number of significant digits to use, -1 meaning "enough".</p></td>
1271
+ <td class="parameter_annotations"> </td>
1272
+ </tr>
1273
+ </tbody>
1274
+ </table></div>
1275
+ </div>
1276
+ </div>
1277
+ <hr>
1278
+ <div class="refsect2">
1279
+ <a name="gsf-xml-out-add-enum"></a><h3>gsf_xml_out_add_enum ()</h3>
1280
+ <pre class="programlisting"><span class="returnvalue">void</span>
1281
+ gsf_xml_out_add_enum (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
1282
+ <em class="parameter"><code><span class="type">char</span> const *id</code></em>,
1283
+ <em class="parameter"><code><span class="type">GType</span> etype</code></em>,
1284
+ <em class="parameter"><code><span class="type">gint</span> val</code></em>);</pre>
1285
+ <p>Output the name of value <em class="parameter"><code>val</code></em>
1286
+ of enumeration type <em class="parameter"><code>etype</code></em>
1287
+ .</p>
1288
+ <div class="refsect3">
1289
+ <a name="id-1.6.5.3.9.29.5"></a><h4>Parameters</h4>
1290
+ <div class="informaltable"><table width="100%" border="0">
1291
+ <colgroup>
1292
+ <col width="150px" class="parameters_name">
1293
+ <col class="parameters_description">
1294
+ <col width="200px" class="parameters_annotations">
1295
+ </colgroup>
1296
+ <tbody>
1297
+ <tr>
1298
+ <td class="parameter_name"><p>xout</p></td>
1299
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
1300
+ <td class="parameter_annotations"> </td>
1301
+ </tr>
1302
+ <tr>
1303
+ <td class="parameter_name"><p>id</p></td>
1304
+ <td class="parameter_description"><p> tag id or <code class="literal">NULL</code> for content. </p></td>
1305
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1306
+ </tr>
1307
+ <tr>
1308
+ <td class="parameter_name"><p>etype</p></td>
1309
+ <td class="parameter_description"><p><span class="type">GType</span></p></td>
1310
+ <td class="parameter_annotations"> </td>
1311
+ </tr>
1312
+ <tr>
1313
+ <td class="parameter_name"><p>val</p></td>
1314
+ <td class="parameter_description"><p>enum element number</p></td>
1315
+ <td class="parameter_annotations"> </td>
1316
+ </tr>
1317
+ </tbody>
1318
+ </table></div>
1319
+ </div>
1320
+ </div>
1321
+ <hr>
1322
+ <div class="refsect2">
1323
+ <a name="gsf-xml-out-add-color"></a><h3>gsf_xml_out_add_color ()</h3>
1324
+ <pre class="programlisting"><span class="returnvalue">void</span>
1325
+ gsf_xml_out_add_color (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
1326
+ <em class="parameter"><code><span class="type">char</span> const *id</code></em>,
1327
+ <em class="parameter"><code>unsigned <span class="type">int</span> r</code></em>,
1328
+ <em class="parameter"><code>unsigned <span class="type">int</span> g</code></em>,
1329
+ <em class="parameter"><code>unsigned <span class="type">int</span> b</code></em>);</pre>
1330
+ <p>dump Color <em class="parameter"><code>r</code></em>
1331
+ .<em class="parameter"><code>g</code></em>
1332
+ .<em class="parameter"><code>b</code></em>
1333
+ to an attribute named <em class="parameter"><code>id</code></em>
1334
+ or as the nodes content</p>
1335
+ <div class="refsect3">
1336
+ <a name="id-1.6.5.3.9.30.5"></a><h4>Parameters</h4>
1337
+ <div class="informaltable"><table width="100%" border="0">
1338
+ <colgroup>
1339
+ <col width="150px" class="parameters_name">
1340
+ <col class="parameters_description">
1341
+ <col width="200px" class="parameters_annotations">
1342
+ </colgroup>
1343
+ <tbody>
1344
+ <tr>
1345
+ <td class="parameter_name"><p>xout</p></td>
1346
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
1347
+ <td class="parameter_annotations"> </td>
1348
+ </tr>
1349
+ <tr>
1350
+ <td class="parameter_name"><p>id</p></td>
1351
+ <td class="parameter_description"><p> tag id or <code class="literal">NULL</code> for content. </p></td>
1352
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1353
+ </tr>
1354
+ <tr>
1355
+ <td class="parameter_name"><p>r</p></td>
1356
+ <td class="parameter_description"><p>Red value</p></td>
1357
+ <td class="parameter_annotations"> </td>
1358
+ </tr>
1359
+ <tr>
1360
+ <td class="parameter_name"><p>g</p></td>
1361
+ <td class="parameter_description"><p>Green value</p></td>
1362
+ <td class="parameter_annotations"> </td>
1363
+ </tr>
1364
+ <tr>
1365
+ <td class="parameter_name"><p>b</p></td>
1366
+ <td class="parameter_description"><p>Blue value</p></td>
1367
+ <td class="parameter_annotations"> </td>
1368
+ </tr>
1369
+ </tbody>
1370
+ </table></div>
1371
+ </div>
1372
+ </div>
1373
+ <hr>
1374
+ <div class="refsect2">
1375
+ <a name="gsf-xml-out-add-base64"></a><h3>gsf_xml_out_add_base64 ()</h3>
1376
+ <pre class="programlisting"><span class="returnvalue">void</span>
1377
+ gsf_xml_out_add_base64 (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
1378
+ <em class="parameter"><code><span class="type">char</span> const *id</code></em>,
1379
+ <em class="parameter"><code><span class="type">guint8</span> const *data</code></em>,
1380
+ <em class="parameter"><code>unsigned <span class="type">int</span> len</code></em>);</pre>
1381
+ <p>Dump <em class="parameter"><code>len</code></em>
1382
+ bytes in <em class="parameter"><code>data</code></em>
1383
+ into the content of node <em class="parameter"><code>id</code></em>
1384
+ using base64</p>
1385
+ <div class="refsect3">
1386
+ <a name="id-1.6.5.3.9.31.5"></a><h4>Parameters</h4>
1387
+ <div class="informaltable"><table width="100%" border="0">
1388
+ <colgroup>
1389
+ <col width="150px" class="parameters_name">
1390
+ <col class="parameters_description">
1391
+ <col width="200px" class="parameters_annotations">
1392
+ </colgroup>
1393
+ <tbody>
1394
+ <tr>
1395
+ <td class="parameter_name"><p>xout</p></td>
1396
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
1397
+ <td class="parameter_annotations"> </td>
1398
+ </tr>
1399
+ <tr>
1400
+ <td class="parameter_name"><p>id</p></td>
1401
+ <td class="parameter_description"><p> tag id or <code class="literal">NULL</code> for content. </p></td>
1402
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1403
+ </tr>
1404
+ <tr>
1405
+ <td class="parameter_name"><p>data</p></td>
1406
+ <td class="parameter_description"><p>Data to be written</p></td>
1407
+ <td class="parameter_annotations"> </td>
1408
+ </tr>
1409
+ <tr>
1410
+ <td class="parameter_name"><p>len</p></td>
1411
+ <td class="parameter_description"><p>Length of data</p></td>
1412
+ <td class="parameter_annotations"> </td>
1413
+ </tr>
1414
+ </tbody>
1415
+ </table></div>
1416
+ </div>
1417
+ </div>
1418
+ <hr>
1419
+ <div class="refsect2">
1420
+ <a name="gsf-xml-out-add-gvalue"></a><h3>gsf_xml_out_add_gvalue ()</h3>
1421
+ <pre class="programlisting"><span class="returnvalue">void</span>
1422
+ gsf_xml_out_add_gvalue (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
1423
+ <em class="parameter"><code><span class="type">char</span> const *id</code></em>,
1424
+ <em class="parameter"><code><span class="type">GValue</span> const *val</code></em>);</pre>
1425
+ <p>Output the value of <em class="parameter"><code>val</code></em>
1426
+ as a string. Does NOT store any type information
1427
+ with the string, just thevalue.</p>
1428
+ <div class="refsect3">
1429
+ <a name="id-1.6.5.3.9.32.5"></a><h4>Parameters</h4>
1430
+ <div class="informaltable"><table width="100%" border="0">
1431
+ <colgroup>
1432
+ <col width="150px" class="parameters_name">
1433
+ <col class="parameters_description">
1434
+ <col width="200px" class="parameters_annotations">
1435
+ </colgroup>
1436
+ <tbody>
1437
+ <tr>
1438
+ <td class="parameter_name"><p>xout</p></td>
1439
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
1440
+ <td class="parameter_annotations"> </td>
1441
+ </tr>
1442
+ <tr>
1443
+ <td class="parameter_name"><p>id</p></td>
1444
+ <td class="parameter_description"><p> tag id or <code class="literal">NULL</code> for content. </p></td>
1445
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1446
+ </tr>
1447
+ <tr>
1448
+ <td class="parameter_name"><p>val</p></td>
1449
+ <td class="parameter_description"><p><span class="type">GValue</span></p></td>
1450
+ <td class="parameter_annotations"> </td>
1451
+ </tr>
1452
+ </tbody>
1453
+ </table></div>
1454
+ </div>
1455
+ </div>
1456
+ <hr>
1457
+ <div class="refsect2">
1458
+ <a name="gsf-xml-out-simple-element"></a><h3>gsf_xml_out_simple_element ()</h3>
1459
+ <pre class="programlisting"><span class="returnvalue">void</span>
1460
+ gsf_xml_out_simple_element (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
1461
+ <em class="parameter"><code><span class="type">char</span> const *id</code></em>,
1462
+ <em class="parameter"><code><span class="type">char</span> const *content</code></em>);</pre>
1463
+ <p>Convenience routine to output a simple <em class="parameter"><code>id</code></em>
1464
+ element with content <em class="parameter"><code>content</code></em>
1465
+ .</p>
1466
+ <div class="refsect3">
1467
+ <a name="id-1.6.5.3.9.33.5"></a><h4>Parameters</h4>
1468
+ <div class="informaltable"><table width="100%" border="0">
1469
+ <colgroup>
1470
+ <col width="150px" class="parameters_name">
1471
+ <col class="parameters_description">
1472
+ <col width="200px" class="parameters_annotations">
1473
+ </colgroup>
1474
+ <tbody>
1475
+ <tr>
1476
+ <td class="parameter_name"><p>xout</p></td>
1477
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
1478
+ <td class="parameter_annotations"> </td>
1479
+ </tr>
1480
+ <tr>
1481
+ <td class="parameter_name"><p>id</p></td>
1482
+ <td class="parameter_description"><p>Element name</p></td>
1483
+ <td class="parameter_annotations"> </td>
1484
+ </tr>
1485
+ <tr>
1486
+ <td class="parameter_name"><p>content</p></td>
1487
+ <td class="parameter_description"><p>Content of the element</p></td>
1488
+ <td class="parameter_annotations"> </td>
1489
+ </tr>
1490
+ </tbody>
1491
+ </table></div>
1492
+ </div>
1493
+ </div>
1494
+ <hr>
1495
+ <div class="refsect2">
1496
+ <a name="gsf-xml-out-simple-float-element"></a><h3>gsf_xml_out_simple_float_element ()</h3>
1497
+ <pre class="programlisting"><span class="returnvalue">void</span>
1498
+ gsf_xml_out_simple_float_element (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
1499
+ <em class="parameter"><code><span class="type">char</span> const *id</code></em>,
1500
+ <em class="parameter"><code><span class="type">double</span> val</code></em>,
1501
+ <em class="parameter"><code><span class="type">int</span> precision</code></em>);</pre>
1502
+ <p>Convenience routine to output an element <em class="parameter"><code>id</code></em>
1503
+ with float value <em class="parameter"><code>val</code></em>
1504
+ using
1505
+ <em class="parameter"><code>precision</code></em>
1506
+ significant digits.</p>
1507
+ <div class="refsect3">
1508
+ <a name="id-1.6.5.3.9.34.5"></a><h4>Parameters</h4>
1509
+ <div class="informaltable"><table width="100%" border="0">
1510
+ <colgroup>
1511
+ <col width="150px" class="parameters_name">
1512
+ <col class="parameters_description">
1513
+ <col width="200px" class="parameters_annotations">
1514
+ </colgroup>
1515
+ <tbody>
1516
+ <tr>
1517
+ <td class="parameter_name"><p>xout</p></td>
1518
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
1519
+ <td class="parameter_annotations"> </td>
1520
+ </tr>
1521
+ <tr>
1522
+ <td class="parameter_name"><p>id</p></td>
1523
+ <td class="parameter_description"><p>Element name</p></td>
1524
+ <td class="parameter_annotations"> </td>
1525
+ </tr>
1526
+ <tr>
1527
+ <td class="parameter_name"><p>val</p></td>
1528
+ <td class="parameter_description"><p>Element value</p></td>
1529
+ <td class="parameter_annotations"> </td>
1530
+ </tr>
1531
+ <tr>
1532
+ <td class="parameter_name"><p>precision</p></td>
1533
+ <td class="parameter_description"><p>the number of significant digits to use, -1 meaning "enough".</p></td>
1534
+ <td class="parameter_annotations"> </td>
1535
+ </tr>
1536
+ </tbody>
1537
+ </table></div>
1538
+ </div>
1539
+ </div>
1540
+ <hr>
1541
+ <div class="refsect2">
1542
+ <a name="gsf-xml-out-simple-int-element"></a><h3>gsf_xml_out_simple_int_element ()</h3>
1543
+ <pre class="programlisting"><span class="returnvalue">void</span>
1544
+ gsf_xml_out_simple_int_element (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a> *xout</code></em>,
1545
+ <em class="parameter"><code><span class="type">char</span> const *id</code></em>,
1546
+ <em class="parameter"><code><span class="type">int</span> val</code></em>);</pre>
1547
+ <p>Convenience routine to output an element <em class="parameter"><code>id</code></em>
1548
+ with integer value <em class="parameter"><code>val</code></em>
1549
+ .</p>
1550
+ <div class="refsect3">
1551
+ <a name="id-1.6.5.3.9.35.5"></a><h4>Parameters</h4>
1552
+ <div class="informaltable"><table width="100%" border="0">
1553
+ <colgroup>
1554
+ <col width="150px" class="parameters_name">
1555
+ <col class="parameters_description">
1556
+ <col width="200px" class="parameters_annotations">
1557
+ </colgroup>
1558
+ <tbody>
1559
+ <tr>
1560
+ <td class="parameter_name"><p>xout</p></td>
1561
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLOut"><span class="type">GsfXMLOut</span></a></p></td>
1562
+ <td class="parameter_annotations"> </td>
1563
+ </tr>
1564
+ <tr>
1565
+ <td class="parameter_name"><p>id</p></td>
1566
+ <td class="parameter_description"><p>Element name</p></td>
1567
+ <td class="parameter_annotations"> </td>
1568
+ </tr>
1569
+ <tr>
1570
+ <td class="parameter_name"><p>val</p></td>
1571
+ <td class="parameter_description"><p>Element value</p></td>
1572
+ <td class="parameter_annotations"> </td>
1573
+ </tr>
1574
+ </tbody>
1575
+ </table></div>
1576
+ </div>
1577
+ </div>
1578
+ <hr>
1579
+ <div class="refsect2">
1580
+ <a name="gsf-input-http-get-content-type"></a><h3>gsf_input_http_get_content_type ()</h3>
1581
+ <pre class="programlisting"><span class="returnvalue">gchar</span> *
1582
+ gsf_input_http_get_content_type (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfInputHTTP" title="GsfInputHTTP"><span class="type">GsfInputHTTP</span></a> *input</code></em>);</pre>
1583
+ <div class="refsect3">
1584
+ <a name="id-1.6.5.3.9.36.4"></a><h4>Parameters</h4>
1585
+ <div class="informaltable"><table width="100%" border="0">
1586
+ <colgroup>
1587
+ <col width="150px" class="parameters_name">
1588
+ <col class="parameters_description">
1589
+ <col width="200px" class="parameters_annotations">
1590
+ </colgroup>
1591
+ <tbody><tr>
1592
+ <td class="parameter_name"><p>input</p></td>
1593
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfInputHTTP" title="GsfInputHTTP"><span class="type">GsfInputHTTP</span></a></p></td>
1594
+ <td class="parameter_annotations"> </td>
1595
+ </tr></tbody>
1596
+ </table></div>
1597
+ </div>
1598
+ <div class="refsect3">
1599
+ <a name="id-1.6.5.3.9.36.5"></a><h4>Returns</h4>
1600
+ <p> an allocated string containing the Content-Type field of the HTTP response.</p>
1601
+ <p></p>
1602
+ </div>
1603
+ </div>
1604
+ <hr>
1605
+ <div class="refsect2">
1606
+ <a name="gsf-input-http-get-type"></a><h3>gsf_input_http_get_type ()</h3>
1607
+ <pre class="programlisting"><span class="returnvalue">GType</span>
1608
+ gsf_input_http_get_type (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1609
+ <p>
1610
+ </p>
1611
+ <div class="refsect3">
1612
+ <a name="id-1.6.5.3.9.37.5"></a><h4>Returns</h4>
1613
+ <p></p>
1614
+ </div>
1615
+ </div>
1616
+ <hr>
1617
+ <div class="refsect2">
1618
+ <a name="gsf-input-http-get-url"></a><h3>gsf_input_http_get_url ()</h3>
1619
+ <pre class="programlisting"><span class="returnvalue">gchar</span> *
1620
+ gsf_input_http_get_url (<em class="parameter"><code><a class="link" href="gsf-XML-and-libxml.html#GsfInputHTTP" title="GsfInputHTTP"><span class="type">GsfInputHTTP</span></a> *input</code></em>);</pre>
1621
+ <div class="refsect3">
1622
+ <a name="id-1.6.5.3.9.38.4"></a><h4>Parameters</h4>
1623
+ <div class="informaltable"><table width="100%" border="0">
1624
+ <colgroup>
1625
+ <col width="150px" class="parameters_name">
1626
+ <col class="parameters_description">
1627
+ <col width="200px" class="parameters_annotations">
1628
+ </colgroup>
1629
+ <tbody><tr>
1630
+ <td class="parameter_name"><p>input</p></td>
1631
+ <td class="parameter_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfInputHTTP" title="GsfInputHTTP"><span class="type">GsfInputHTTP</span></a></p></td>
1632
+ <td class="parameter_annotations"> </td>
1633
+ </tr></tbody>
1634
+ </table></div>
1635
+ </div>
1636
+ <div class="refsect3">
1637
+ <a name="id-1.6.5.3.9.38.5"></a><h4>Returns</h4>
1638
+ <p> an allocated string containing the URL used for input.</p>
1639
+ <p></p>
1640
+ </div>
1641
+ </div>
1642
+ <hr>
1643
+ <div class="refsect2">
1644
+ <a name="gsf-xml-parser-context"></a><h3>gsf_xml_parser_context ()</h3>
1645
+ <pre class="programlisting"><span class="returnvalue">xmlParserCtxt</span> *
1646
+ gsf_xml_parser_context (<em class="parameter"><code><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a> *input</code></em>);</pre>
1647
+ <p>Create a libxml2 pull style parser context wrapper around gsf input <em class="parameter"><code>input</code></em>
1648
+ .
1649
+ This signature will probably change to supply a SAX structure.</p>
1650
+ <div class="note">This adds a reference to <em class="parameter"><code>input</code></em>.</div>
1651
+ <div class="note">A simple wrapper around a cleaner implementation that will fold in
1652
+ when we add other api changes. Its not worth bumping just for this.</div>
1653
+ <p>NOTE: skipped since xmlParserCtxt is not exported to introspection.</p>
1654
+ <div class="refsect3">
1655
+ <a name="id-1.6.5.3.9.39.8"></a><h4>Parameters</h4>
1656
+ <div class="informaltable"><table width="100%" border="0">
1657
+ <colgroup>
1658
+ <col width="150px" class="parameters_name">
1659
+ <col class="parameters_description">
1660
+ <col width="200px" class="parameters_annotations">
1661
+ </colgroup>
1662
+ <tbody><tr>
1663
+ <td class="parameter_name"><p>input</p></td>
1664
+ <td class="parameter_description"><p><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a></p></td>
1665
+ <td class="parameter_annotations"> </td>
1666
+ </tr></tbody>
1667
+ </table></div>
1668
+ </div>
1669
+ <div class="refsect3">
1670
+ <a name="id-1.6.5.3.9.39.9"></a><h4>Returns</h4>
1671
+ <p> A parser context or <code class="literal">NULL</code></p>
1672
+ <p></p>
1673
+ </div>
1674
+ </div>
1675
+ <hr>
1676
+ <div class="refsect2">
1677
+ <a name="gsf-xml-gvalue-from-str"></a><h3>gsf_xml_gvalue_from_str ()</h3>
1678
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
1679
+ gsf_xml_gvalue_from_str (<em class="parameter"><code><span class="type">GValue</span> *res</code></em>,
1680
+ <em class="parameter"><code><span class="type">GType</span> t</code></em>,
1681
+ <em class="parameter"><code><span class="type">char</span> const *str</code></em>);</pre>
1682
+ <p>Try to parse <em class="parameter"><code>str</code></em>
1683
+ as a value of type <em class="parameter"><code>t</code></em>
1684
+ into <em class="parameter"><code>res</code></em>
1685
+ .</p>
1686
+ <div class="refsect3">
1687
+ <a name="id-1.6.5.3.9.40.5"></a><h4>Parameters</h4>
1688
+ <div class="informaltable"><table width="100%" border="0">
1689
+ <colgroup>
1690
+ <col width="150px" class="parameters_name">
1691
+ <col class="parameters_description">
1692
+ <col width="200px" class="parameters_annotations">
1693
+ </colgroup>
1694
+ <tbody>
1695
+ <tr>
1696
+ <td class="parameter_name"><p>res</p></td>
1697
+ <td class="parameter_description"><p>Result value</p></td>
1698
+ <td class="parameter_annotations"> </td>
1699
+ </tr>
1700
+ <tr>
1701
+ <td class="parameter_name"><p>t</p></td>
1702
+ <td class="parameter_description"><p>Type of data</p></td>
1703
+ <td class="parameter_annotations"> </td>
1704
+ </tr>
1705
+ <tr>
1706
+ <td class="parameter_name"><p>str</p></td>
1707
+ <td class="parameter_description"><p>Value string</p></td>
1708
+ <td class="parameter_annotations"> </td>
1709
+ </tr>
1710
+ </tbody>
1711
+ </table></div>
1712
+ </div>
1713
+ <div class="refsect3">
1714
+ <a name="id-1.6.5.3.9.40.6"></a><h4>Returns</h4>
1715
+ <p> True when parsing of <em class="parameter"><code>str</code></em>
1716
+ as a value of type <em class="parameter"><code>t</code></em>
1717
+ was succesfull;
1718
+ false otherwise.</p>
1719
+ <p></p>
1720
+ </div>
1721
+ </div>
1722
+ <hr>
1723
+ <div class="refsect2">
1724
+ <a name="gsf-xmlDocFormatDump"></a><h3>gsf_xmlDocFormatDump ()</h3>
1725
+ <pre class="programlisting"><span class="returnvalue">int</span>
1726
+ gsf_xmlDocFormatDump (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *output</code></em>,
1727
+ <em class="parameter"><code><span class="type">xmlDoc</span> *cur</code></em>,
1728
+ <em class="parameter"><code><span class="type">char</span> const *encoding</code></em>,
1729
+ <em class="parameter"><code><span class="type">gboolean</span> format</code></em>);</pre>
1730
+ <p>Dumps the document <em class="parameter"><code>cur</code></em>
1731
+ into <em class="parameter"><code>output</code></em>
1732
+ .</p>
1733
+ <div class="refsect3">
1734
+ <a name="id-1.6.5.3.9.41.5"></a><h4>Parameters</h4>
1735
+ <div class="informaltable"><table width="100%" border="0">
1736
+ <colgroup>
1737
+ <col width="150px" class="parameters_name">
1738
+ <col class="parameters_description">
1739
+ <col width="200px" class="parameters_annotations">
1740
+ </colgroup>
1741
+ <tbody>
1742
+ <tr>
1743
+ <td class="parameter_name"><p>output</p></td>
1744
+ <td class="parameter_description"><p><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a></p></td>
1745
+ <td class="parameter_annotations"> </td>
1746
+ </tr>
1747
+ <tr>
1748
+ <td class="parameter_name"><p>cur</p></td>
1749
+ <td class="parameter_description"><p><span class="type">xmlDocPtr</span></p></td>
1750
+ <td class="parameter_annotations"> </td>
1751
+ </tr>
1752
+ <tr>
1753
+ <td class="parameter_name"><p>encoding</p></td>
1754
+ <td class="parameter_description"><p> The encoding to use. </p></td>
1755
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1756
+ </tr>
1757
+ <tr>
1758
+ <td class="parameter_name"><p>format</p></td>
1759
+ <td class="parameter_description"><p><code class="literal">TRUE</code> to reformat the output.</p></td>
1760
+ <td class="parameter_annotations"> </td>
1761
+ </tr>
1762
+ </tbody>
1763
+ </table></div>
1764
+ </div>
1765
+ <div class="refsect3">
1766
+ <a name="id-1.6.5.3.9.41.6"></a><h4>Returns</h4>
1767
+ <p> status from xmlSaveFormatFileTo.</p>
1768
+ <p></p>
1769
+ </div>
1770
+ </div>
1771
+ </div>
1772
+ <div class="refsect1">
1773
+ <a name="gsf-XML-and-libxml.other_details"></a><h2>Types and Values</h2>
1774
+ <div class="refsect2">
1775
+ <a name="GsfXMLIn"></a><h3>GsfXMLIn</h3>
1776
+ <pre class="programlisting">typedef struct {
1777
+ /* public state : read only */
1778
+ gpointer user_state;
1779
+ GString *content;
1780
+ GsfXMLInDoc const *doc;
1781
+ GsfXMLInNode const *node; /* current node (not on the stack) */
1782
+ } GsfXMLIn;
1783
+ </pre>
1784
+ <div class="refsect3">
1785
+ <a name="id-1.6.5.3.10.2.4"></a><h4>Members</h4>
1786
+ <div class="informaltable"><table width="100%" border="0">
1787
+ <colgroup>
1788
+ <col width="300px" class="struct_members_name">
1789
+ <col class="struct_members_description">
1790
+ <col width="200px" class="struct_members_annotations">
1791
+ </colgroup>
1792
+ <tbody>
1793
+ <tr>
1794
+ <td class="struct_member_name"><p><span class="type">gpointer</span> <em class="structfield"><code><a name="GsfXMLIn.user-state"></a>user_state</code></em>;</p></td>
1795
+ <td class="struct_member_description"><p>user data</p></td>
1796
+ <td class="struct_member_annotations"> </td>
1797
+ </tr>
1798
+ <tr>
1799
+ <td class="struct_member_name"><p><span class="type">GString</span> *<em class="structfield"><code><a name="GsfXMLIn.content"></a>content</code></em>;</p></td>
1800
+ <td class="struct_member_description"><p>the current node content</p></td>
1801
+ <td class="struct_member_annotations"> </td>
1802
+ </tr>
1803
+ <tr>
1804
+ <td class="struct_member_name"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc"><span class="type">GsfXMLInDoc</span></a> const  *<em class="structfield"><code><a name="GsfXMLIn.doc"></a>doc</code></em>;</p></td>
1805
+ <td class="struct_member_description"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInDoc" title="GsfXMLInDoc"><span class="type">GsfXMLInDoc</span></a></p></td>
1806
+ <td class="struct_member_annotations"> </td>
1807
+ </tr>
1808
+ <tr>
1809
+ <td class="struct_member_name"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLInNode" title="GsfXMLInNode"><span class="type">GsfXMLInNode</span></a> const  *<em class="structfield"><code><a name="GsfXMLIn.node"></a>node</code></em>;</p></td>
1810
+ <td class="struct_member_description"><p>current node (not on the stack)</p></td>
1811
+ <td class="struct_member_annotations"> </td>
1812
+ </tr>
1813
+ </tbody>
1814
+ </table></div>
1815
+ </div>
1816
+ </div>
1817
+ <hr>
1818
+ <div class="refsect2">
1819
+ <a name="GsfXMLInDoc"></a><h3>GsfXMLInDoc</h3>
1820
+ <pre class="programlisting">typedef struct _GsfXMLInDoc GsfXMLInDoc;</pre>
1821
+ <p>
1822
+ </p>
1823
+ </div>
1824
+ <hr>
1825
+ <div class="refsect2">
1826
+ <a name="GsfXMLInNS"></a><h3>GsfXMLInNS</h3>
1827
+ <pre class="programlisting">typedef struct {
1828
+ char const *uri;
1829
+ unsigned ns_id;
1830
+ } GsfXMLInNS;
1831
+ </pre>
1832
+ <div class="refsect3">
1833
+ <a name="id-1.6.5.3.10.4.4"></a><h4>Members</h4>
1834
+ <div class="informaltable"><table width="100%" border="0">
1835
+ <colgroup>
1836
+ <col width="300px" class="struct_members_name">
1837
+ <col class="struct_members_description">
1838
+ <col width="200px" class="struct_members_annotations">
1839
+ </colgroup>
1840
+ <tbody><tr>
1841
+ <td class="struct_member_name"><p><span class="type">char</span> const  *<em class="structfield"><code><a name="GsfXMLInNS.uri"></a>uri</code></em>;</p></td>
1842
+ <td class="struct_member_description"><p>URI</p></td>
1843
+ <td class="struct_member_annotations"> </td>
1844
+ </tr></tbody>
1845
+ </table></div>
1846
+ </div>
1847
+ </div>
1848
+ <hr>
1849
+ <div class="refsect2">
1850
+ <a name="GsfXMLInNode"></a><h3>GsfXMLInNode</h3>
1851
+ <pre class="programlisting">typedef struct {
1852
+ char const *id; /* unique in the entire tree */
1853
+ int ns_id;
1854
+ char const *name;
1855
+ char const *parent_id;
1856
+ void (*start) (GsfXMLIn *xin, xmlChar const **attrs);
1857
+ void (*end) (GsfXMLIn *xin, GsfXMLBlob *unknown);
1858
+
1859
+ union {
1860
+ int v_int;
1861
+ gboolean v_bool;
1862
+ gpointer v_blob;
1863
+ char const *v_str;
1864
+ } user_data;
1865
+ GsfXMLContent has_content;
1866
+
1867
+ unsigned int check_children_for_ns : 1;
1868
+ unsigned int share_children_with_parent : 1;
1869
+ } GsfXMLInNode;
1870
+ </pre>
1871
+ <div class="refsect3">
1872
+ <a name="id-1.6.5.3.10.5.4"></a><h4>Members</h4>
1873
+ <div class="informaltable"><table width="100%" border="0">
1874
+ <colgroup>
1875
+ <col width="300px" class="struct_members_name">
1876
+ <col class="struct_members_description">
1877
+ <col width="200px" class="struct_members_annotations">
1878
+ </colgroup>
1879
+ <tbody>
1880
+ <tr>
1881
+ <td class="struct_member_name"><p><span class="type">char</span> const  *<em class="structfield"><code><a name="GsfXMLInNode.id"></a>id</code></em>;</p></td>
1882
+ <td class="struct_member_description"><p>identifier unique in the entire tree</p></td>
1883
+ <td class="struct_member_annotations"> </td>
1884
+ </tr>
1885
+ <tr>
1886
+ <td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="GsfXMLInNode.ns-id"></a>ns_id</code></em>;</p></td>
1887
+ <td class="struct_member_description"><p>namespace identifier</p></td>
1888
+ <td class="struct_member_annotations"> </td>
1889
+ </tr>
1890
+ <tr>
1891
+ <td class="struct_member_name"><p><span class="type">char</span> const  *<em class="structfield"><code><a name="GsfXMLInNode.name"></a>name</code></em>;</p></td>
1892
+ <td class="struct_member_description"><p>node name</p></td>
1893
+ <td class="struct_member_annotations"> </td>
1894
+ </tr>
1895
+ <tr>
1896
+ <td class="struct_member_name"><p><span class="type">char</span> const  *<em class="structfield"><code><a name="GsfXMLInNode.parent-id"></a>parent_id</code></em>;</p></td>
1897
+ <td class="struct_member_description"><p>parent node identifier</p></td>
1898
+ <td class="struct_member_annotations"> </td>
1899
+ </tr>
1900
+ <tr>
1901
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GsfXMLInNode.start"></a>start</code></em> ()</p></td>
1902
+ <td class="struct_member_description"><p>callback for the node opening</p></td>
1903
+ <td class="struct_member_annotations"> </td>
1904
+ </tr>
1905
+ <tr>
1906
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="GsfXMLInNode.end"></a>end</code></em> ()</p></td>
1907
+ <td class="struct_member_description"><p>callback for node end</p></td>
1908
+ <td class="struct_member_annotations"> </td>
1909
+ </tr>
1910
+ <tr>
1911
+ <td class="struct_member_name"><p><a class="link" href="gsf-XML-and-libxml.html#GsfXMLContent" title="enum GsfXMLContent"><span class="type">GsfXMLContent</span></a> <em class="structfield"><code><a name="GsfXMLInNode.has-content"></a>has_content</code></em>;</p></td>
1912
+ <td class="struct_member_description"><p>whether the node has content</p></td>
1913
+ <td class="struct_member_annotations"> </td>
1914
+ </tr>
1915
+ <tr>
1916
+ <td class="struct_member_name"><p>unsigned <span class="type">int</span> <em class="structfield"><code><a name="GsfXMLInNode.check-children-for-ns"></a>check_children_for_ns</code></em> : 1;</p></td>
1917
+ <td class="struct_member_description"><p>whether to check namespace for children</p></td>
1918
+ <td class="struct_member_annotations"> </td>
1919
+ </tr>
1920
+ <tr>
1921
+ <td class="struct_member_name"><p>unsigned <span class="type">int</span> <em class="structfield"><code><a name="GsfXMLInNode.share-children-with-parent"></a>share_children_with_parent</code></em> : 1;</p></td>
1922
+ <td class="struct_member_description"><p>whether to share children with parent.</p></td>
1923
+ <td class="struct_member_annotations"> </td>
1924
+ </tr>
1925
+ </tbody>
1926
+ </table></div>
1927
+ </div>
1928
+ </div>
1929
+ <hr>
1930
+ <div class="refsect2">
1931
+ <a name="GsfXMLContent"></a><h3>enum GsfXMLContent</h3>
1932
+ <p>Controls the handling of character data within a parser node.</p>
1933
+ <div class="refsect3">
1934
+ <a name="id-1.6.5.3.10.6.4"></a><h4>Members</h4>
1935
+ <div class="informaltable"><table width="100%" border="0">
1936
+ <colgroup>
1937
+ <col width="300px" class="enum_members_name">
1938
+ <col class="enum_members_description">
1939
+ <col width="200px" class="enum_members_annotations">
1940
+ </colgroup>
1941
+ <tbody>
1942
+ <tr>
1943
+ <td class="enum_member_name"><p><a name="GSF-XML-NO-CONTENT:CAPS"></a>GSF_XML_NO_CONTENT</p></td>
1944
+ <td class="enum_member_description">
1945
+ <p>node has no cstr contents</p>
1946
+ </td>
1947
+ <td class="enum_member_annotations"> </td>
1948
+ </tr>
1949
+ <tr>
1950
+ <td class="enum_member_name"><p><a name="GSF-XML-CONTENT:CAPS"></a>GSF_XML_CONTENT</p></td>
1951
+ <td class="enum_member_description">
1952
+ <p>node has cstr contents</p>
1953
+ </td>
1954
+ <td class="enum_member_annotations"> </td>
1955
+ </tr>
1956
+ <tr>
1957
+ <td class="enum_member_name"><p><a name="GSF-XML-SHARED-CONTENT:CAPS"></a>GSF_XML_SHARED_CONTENT</p></td>
1958
+ <td class="enum_member_description">
1959
+ <p>node has contents that is shared with children</p>
1960
+ </td>
1961
+ <td class="enum_member_annotations"> </td>
1962
+ </tr>
1963
+ <tr>
1964
+ <td class="enum_member_name"><p><a name="GSF-XML-2ND:CAPS"></a>GSF_XML_2ND</p></td>
1965
+ <td class="enum_member_description">
1966
+ <p>node is second or later occurrence</p>
1967
+ </td>
1968
+ <td class="enum_member_annotations"> </td>
1969
+ </tr>
1970
+ </tbody>
1971
+ </table></div>
1972
+ </div>
1973
+ </div>
1974
+ <hr>
1975
+ <div class="refsect2">
1976
+ <a name="GsfXMLBlob"></a><h3>GsfXMLBlob</h3>
1977
+ <pre class="programlisting">typedef struct _GsfXMLBlob GsfXMLBlob;</pre>
1978
+ <p>
1979
+ </p>
1980
+ </div>
1981
+ <hr>
1982
+ <div class="refsect2">
1983
+ <a name="GsfInputHTTP"></a><h3>GsfInputHTTP</h3>
1984
+ <pre class="programlisting">typedef struct _GsfInputHTTP GsfInputHTTP;</pre>
1985
+ <p>
1986
+ </p>
1987
+ </div>
1988
+ <hr>
1989
+ <div class="refsect2">
1990
+ <a name="GSF-XML-IN-NODE-END:CAPS"></a><h3>GSF_XML_IN_NODE_END</h3>
1991
+ <pre class="programlisting">#define GSF_XML_IN_NODE_END</pre>
1992
+ <p>
1993
+ </p>
1994
+ </div>
1995
+ <hr>
1996
+ <div class="refsect2">
1997
+ <a name="GSF-XML-IN-NS-END:CAPS"></a><h3>GSF_XML_IN_NS_END</h3>
1998
+ <pre class="programlisting">#define GSF_XML_IN_NS_END</pre>
1999
+ <p>
2000
+ </p>
2001
+ </div>
2002
+ <hr>
2003
+ <div class="refsect2">
2004
+ <a name="GsfXMLOut-struct"></a><h3>GsfXMLOut</h3>
2005
+ <pre class="programlisting">typedef struct _GsfXMLOut GsfXMLOut;</pre>
2006
+ <p>
2007
+ </p>
2008
+ </div>
2009
+ </div>
2010
+ <div class="refsect1">
2011
+ <a name="gsf-XML-and-libxml.property-details"></a><h2>Property Details</h2>
2012
+ <div class="refsect2">
2013
+ <a name="GsfXMLOut--pretty-print"></a><h3>The <code class="literal">“pretty-print”</code> property</h3>
2014
+ <pre class="programlisting"> “pretty-print” <span class="type">gboolean</span></pre>
2015
+ <p>Should the output auto-indent elements to make reading easier?.</p>
2016
+ <p>Flags: Read / Write</p>
2017
+ <p>Default value: TRUE</p>
2018
+ </div>
2019
+ <hr>
2020
+ <div class="refsect2">
2021
+ <a name="GsfXMLOut--sink"></a><h3>The <code class="literal">“sink”</code> property</h3>
2022
+ <pre class="programlisting"> “sink” <a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *</pre>
2023
+ <p>The destination for writes.</p>
2024
+ <p>Flags: Read / Write / Construct Only</p>
2025
+ </div>
2026
+ </div>
2027
+ </div>
2028
+ <div class="footer">
2029
+ <hr>
2030
+ Generated by GTK-Doc V1.20</div>
2031
+ </body>
2032
+ </html>