Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1 | <HTML |
| 2 | ><HEAD |
| 3 | ><TITLE |
| 4 | >uri</TITLE |
| 5 | ><META |
| 6 | NAME="GENERATOR" |
Daniel Veillard | 60087f3 | 2001-10-10 09:45:09 +0000 | [diff] [blame] | 7 | CONTENT="Modular DocBook HTML Stylesheet Version 1.64 |
| 8 | "><LINK |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 9 | REL="HOME" |
| 10 | TITLE="Gnome XML Library Reference Manual" |
| 11 | HREF="book1.html"><LINK |
| 12 | REL="UP" |
| 13 | TITLE="Libxml Library Reference" |
| 14 | HREF="libxml-lib.html"><LINK |
| 15 | REL="PREVIOUS" |
| 16 | TITLE="valid" |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 17 | HREF="libxml-valid.html"><LINK |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 18 | REL="NEXT" |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 19 | TITLE="xmlerror" |
| 20 | HREF="libxml-xmlerror.html"></HEAD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 21 | ><BODY |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 22 | CLASS="REFENTRY" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 23 | BGCOLOR="#FFFFFF" |
| 24 | TEXT="#000000" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 25 | LINK="#0000FF" |
| 26 | VLINK="#840084" |
| 27 | ALINK="#0000FF" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 28 | ><DIV |
| 29 | CLASS="NAVHEADER" |
| 30 | ><TABLE |
| 31 | WIDTH="100%" |
| 32 | BORDER="0" |
| 33 | BGCOLOR="#000000" |
| 34 | CELLPADDING="1" |
| 35 | CELLSPACING="0" |
| 36 | ><TR |
| 37 | ><TH |
| 38 | COLSPAN="4" |
| 39 | ALIGN="center" |
| 40 | ><FONT |
| 41 | COLOR="#FFFFFF" |
| 42 | SIZE="5" |
| 43 | >Gnome XML Library Reference Manual</FONT |
| 44 | ></TH |
| 45 | ></TR |
| 46 | ><TR |
| 47 | ><TD |
| 48 | WIDTH="25%" |
| 49 | BGCOLOR="#C00000" |
| 50 | ALIGN="left" |
| 51 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 52 | HREF="libxml-valid.html" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 53 | ><FONT |
| 54 | COLOR="#FFFFFF" |
| 55 | SIZE="3" |
| 56 | ><B |
| 57 | ><<< Previous Page</B |
| 58 | ></FONT |
| 59 | ></A |
| 60 | ></TD |
| 61 | ><TD |
| 62 | WIDTH="25%" |
| 63 | BGCOLOR="#0000C0" |
| 64 | ALIGN="center" |
| 65 | ><FONT |
| 66 | COLOR="#FFFFFF" |
| 67 | SIZE="3" |
| 68 | ><B |
| 69 | ><A |
| 70 | HREF="book1.html" |
| 71 | ><FONT |
| 72 | COLOR="#FFFFFF" |
| 73 | SIZE="3" |
| 74 | ><B |
| 75 | >Home</B |
| 76 | ></FONT |
| 77 | ></A |
| 78 | ></B |
| 79 | ></FONT |
| 80 | ></TD |
| 81 | ><TD |
| 82 | WIDTH="25%" |
| 83 | BGCOLOR="#00C000" |
| 84 | ALIGN="center" |
| 85 | ><FONT |
| 86 | COLOR="#FFFFFF" |
| 87 | SIZE="3" |
| 88 | ><B |
| 89 | ><A |
| 90 | HREF="libxml-lib.html" |
| 91 | ><FONT |
| 92 | COLOR="#FFFFFF" |
| 93 | SIZE="3" |
| 94 | ><B |
| 95 | >Up</B |
| 96 | ></FONT |
| 97 | ></A |
| 98 | ></B |
| 99 | ></FONT |
| 100 | ></TD |
| 101 | ><TD |
| 102 | WIDTH="25%" |
| 103 | BGCOLOR="#C00000" |
| 104 | ALIGN="right" |
| 105 | ><A |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 106 | HREF="libxml-xmlerror.html" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 107 | ><FONT |
| 108 | COLOR="#FFFFFF" |
| 109 | SIZE="3" |
| 110 | ><B |
| 111 | >Next Page >>></B |
| 112 | ></FONT |
| 113 | ></A |
| 114 | ></TD |
| 115 | ></TR |
| 116 | ></TABLE |
| 117 | ></DIV |
| 118 | ><H1 |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 119 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 120 | NAME="LIBXML-URI" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 121 | >uri</A |
| 122 | ></H1 |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 123 | ><DIV |
| 124 | CLASS="REFNAMEDIV" |
| 125 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 126 | NAME="AEN10106" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 127 | ></A |
| 128 | ><H2 |
| 129 | >Name</H2 |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 130 | >uri -- </DIV |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 131 | ><DIV |
| 132 | CLASS="REFSYNOPSISDIV" |
| 133 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 134 | NAME="AEN10109" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 135 | ></A |
| 136 | ><H2 |
| 137 | >Synopsis</H2 |
| 138 | ><TABLE |
| 139 | BORDER="0" |
| 140 | BGCOLOR="#D6E8FF" |
| 141 | WIDTH="100%" |
| 142 | CELLPADDING="6" |
| 143 | ><TR |
| 144 | ><TD |
| 145 | ><PRE |
| 146 | CLASS="SYNOPSIS" |
| 147 | > |
| 148 | |
| 149 | struct <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 150 | HREF="libxml-uri.html#XMLURI" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 151 | >xmlURI</A |
| 152 | >; |
| 153 | typedef <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 154 | HREF="libxml-uri.html#XMLURIPTR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 155 | >xmlURIPtr</A |
| 156 | >; |
| 157 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 158 | HREF="libxml-uri.html#XMLURIPTR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 159 | >xmlURIPtr</A |
| 160 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 161 | HREF="libxml-uri.html#XMLCREATEURI" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 162 | >xmlCreateURI</A |
| 163 | > (void); |
| 164 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 165 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 166 | >xmlChar</A |
| 167 | >* <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 168 | HREF="libxml-uri.html#XMLBUILDURI" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 169 | >xmlBuildURI</A |
| 170 | > (const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 171 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 172 | >xmlChar</A |
| 173 | > *URI, |
| 174 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 175 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 176 | >xmlChar</A |
| 177 | > *base); |
| 178 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 179 | HREF="libxml-uri.html#XMLURIPTR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 180 | >xmlURIPtr</A |
| 181 | > <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 182 | HREF="libxml-uri.html#XMLPARSEURI" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 183 | >xmlParseURI</A |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 184 | > (const char *URI); |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 185 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 186 | HREF="libxml-uri.html#XMLPARSEURIREFERENCE" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 187 | >xmlParseURIReference</A |
| 188 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 189 | HREF="libxml-uri.html#XMLURIPTR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 190 | >xmlURIPtr</A |
| 191 | > uri, |
| 192 | const char *str); |
| 193 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 194 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 195 | >xmlChar</A |
| 196 | >* <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 197 | HREF="libxml-uri.html#XMLSAVEURI" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 198 | >xmlSaveUri</A |
| 199 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 200 | HREF="libxml-uri.html#XMLURIPTR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 201 | >xmlURIPtr</A |
| 202 | > uri); |
| 203 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 204 | HREF="libxml-uri.html#XMLPRINTURI" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 205 | >xmlPrintURI</A |
| 206 | > (<GTKDOCLINK |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 207 | HREF="FILE-CAPS" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 208 | >FILE</GTKDOCLINK |
| 209 | > *stream, |
| 210 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 211 | HREF="libxml-uri.html#XMLURIPTR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 212 | >xmlURIPtr</A |
| 213 | > uri); |
Daniel Veillard | 4ec885a | 2001-06-17 10:31:07 +0000 | [diff] [blame] | 214 | <A |
| 215 | HREF="libxml-tree.html#XMLCHAR" |
| 216 | >xmlChar</A |
| 217 | >* <A |
| 218 | HREF="libxml-uri.html#XMLURIESCAPESTR" |
| 219 | >xmlURIEscapeStr</A |
| 220 | > (const <A |
| 221 | HREF="libxml-tree.html#XMLCHAR" |
| 222 | >xmlChar</A |
| 223 | > *str, |
| 224 | const <A |
| 225 | HREF="libxml-tree.html#XMLCHAR" |
| 226 | >xmlChar</A |
| 227 | > *list); |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 228 | char* <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 229 | HREF="libxml-uri.html#XMLURIUNESCAPESTRING" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 230 | >xmlURIUnescapeString</A |
| 231 | > (const char *str, |
| 232 | int len, |
| 233 | char *target); |
| 234 | int <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 235 | HREF="libxml-uri.html#XMLNORMALIZEURIPATH" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 236 | >xmlNormalizeURIPath</A |
| 237 | > (char *path); |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame] | 238 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 239 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame] | 240 | >xmlChar</A |
| 241 | >* <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 242 | HREF="libxml-uri.html#XMLURIESCAPE" |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame] | 243 | >xmlURIEscape</A |
| 244 | > (const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 245 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame] | 246 | >xmlChar</A |
| 247 | > *str); |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 248 | void <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 249 | HREF="libxml-uri.html#XMLFREEURI" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 250 | >xmlFreeURI</A |
| 251 | > (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 252 | HREF="libxml-uri.html#XMLURIPTR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 253 | >xmlURIPtr</A |
| 254 | > uri);</PRE |
| 255 | ></TD |
| 256 | ></TR |
| 257 | ></TABLE |
| 258 | ></DIV |
| 259 | ><DIV |
| 260 | CLASS="REFSECT1" |
| 261 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 262 | NAME="AEN10141" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 263 | ></A |
| 264 | ><H2 |
| 265 | >Description</H2 |
| 266 | ><P |
| 267 | ></P |
| 268 | ></DIV |
| 269 | ><DIV |
| 270 | CLASS="REFSECT1" |
| 271 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 272 | NAME="AEN10144" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 273 | ></A |
| 274 | ><H2 |
| 275 | >Details</H2 |
| 276 | ><DIV |
| 277 | CLASS="REFSECT2" |
| 278 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 279 | NAME="AEN10146" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 280 | ></A |
| 281 | ><H3 |
| 282 | ><A |
| 283 | NAME="XMLURI" |
| 284 | ></A |
| 285 | >struct xmlURI</H3 |
| 286 | ><TABLE |
| 287 | BORDER="0" |
| 288 | BGCOLOR="#D6E8FF" |
| 289 | WIDTH="100%" |
| 290 | CELLPADDING="6" |
| 291 | ><TR |
| 292 | ><TD |
| 293 | ><PRE |
| 294 | CLASS="PROGRAMLISTING" |
| 295 | >struct xmlURI { |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 296 | |
| 297 | char *scheme; |
| 298 | |
| 299 | char *opaque; |
| 300 | |
| 301 | char *authority; |
| 302 | |
| 303 | char *server; |
| 304 | |
| 305 | char *user; |
| 306 | |
| 307 | int port; |
| 308 | |
| 309 | char *path; |
| 310 | |
| 311 | char *query; |
| 312 | |
| 313 | char *fragment; |
| 314 | |
| 315 | }; </PRE |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 316 | ></TD |
| 317 | ></TR |
| 318 | ></TABLE |
| 319 | ><P |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 320 | >A parsed URI reference. This is a struct containing the various fields |
| 321 | as described in RFC 2396 but separated for further processing</P |
| 322 | ><P |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 323 | ></P |
| 324 | ></DIV |
| 325 | ><HR><DIV |
| 326 | CLASS="REFSECT2" |
| 327 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 328 | NAME="AEN10152" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 329 | ></A |
| 330 | ><H3 |
| 331 | ><A |
| 332 | NAME="XMLURIPTR" |
| 333 | ></A |
| 334 | >xmlURIPtr</H3 |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 335 | ><P |
| 336 | ></P |
| 337 | ></DIV |
| 338 | ><HR><DIV |
| 339 | CLASS="REFSECT2" |
| 340 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 341 | NAME="AEN10156" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 342 | ></A |
| 343 | ><H3 |
| 344 | ><A |
| 345 | NAME="XMLCREATEURI" |
| 346 | ></A |
| 347 | >xmlCreateURI ()</H3 |
| 348 | ><TABLE |
| 349 | BORDER="0" |
| 350 | BGCOLOR="#D6E8FF" |
| 351 | WIDTH="100%" |
| 352 | CELLPADDING="6" |
| 353 | ><TR |
| 354 | ><TD |
| 355 | ><PRE |
| 356 | CLASS="PROGRAMLISTING" |
| 357 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 358 | HREF="libxml-uri.html#XMLURIPTR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 359 | >xmlURIPtr</A |
| 360 | > xmlCreateURI (void);</PRE |
| 361 | ></TD |
| 362 | ></TR |
| 363 | ></TABLE |
| 364 | ><P |
| 365 | >Simply creates an empty xmlURI</P |
| 366 | ><P |
| 367 | ></P |
| 368 | ><DIV |
| 369 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 370 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 371 | NAME="AEN10163" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 372 | ></A |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 373 | ><P |
| 374 | ></P |
| 375 | ><TABLE |
| 376 | BORDER="0" |
| 377 | WIDTH="100%" |
| 378 | BGCOLOR="#FFD0D0" |
| 379 | CELLSPACING="0" |
| 380 | CELLPADDING="4" |
| 381 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 382 | ><TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 383 | ><TR |
| 384 | ><TD |
| 385 | WIDTH="20%" |
| 386 | ALIGN="RIGHT" |
| 387 | VALIGN="TOP" |
| 388 | ><I |
| 389 | CLASS="EMPHASIS" |
| 390 | >Returns</I |
| 391 | > :</TD |
| 392 | ><TD |
| 393 | WIDTH="80%" |
| 394 | ALIGN="LEFT" |
| 395 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 396 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 397 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 398 | ></TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 399 | ></TABLE |
| 400 | ><P |
| 401 | ></P |
| 402 | ></DIV |
| 403 | ></DIV |
| 404 | ><HR><DIV |
| 405 | CLASS="REFSECT2" |
| 406 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 407 | NAME="AEN10172" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 408 | ></A |
| 409 | ><H3 |
| 410 | ><A |
| 411 | NAME="XMLBUILDURI" |
| 412 | ></A |
| 413 | >xmlBuildURI ()</H3 |
| 414 | ><TABLE |
| 415 | BORDER="0" |
| 416 | BGCOLOR="#D6E8FF" |
| 417 | WIDTH="100%" |
| 418 | CELLPADDING="6" |
| 419 | ><TR |
| 420 | ><TD |
| 421 | ><PRE |
| 422 | CLASS="PROGRAMLISTING" |
| 423 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 424 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 425 | >xmlChar</A |
| 426 | >* xmlBuildURI (const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 427 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 428 | >xmlChar</A |
| 429 | > *URI, |
| 430 | const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 431 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 432 | >xmlChar</A |
| 433 | > *base);</PRE |
| 434 | ></TD |
| 435 | ></TR |
| 436 | ></TABLE |
| 437 | ><P |
| 438 | >Computes he final URI of the reference done by checking that |
| 439 | the given URI is valid, and building the final URI using the |
| 440 | base URI. This is processed according to section 5.2 of the |
| 441 | RFC 2396</P |
| 442 | ><P |
| 443 | >5.2. Resolving Relative References to Absolute Form</P |
| 444 | ><P |
| 445 | ></P |
| 446 | ><DIV |
| 447 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 448 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 449 | NAME="AEN10182" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 450 | ></A |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 451 | ><P |
| 452 | ></P |
| 453 | ><TABLE |
| 454 | BORDER="0" |
| 455 | WIDTH="100%" |
| 456 | BGCOLOR="#FFD0D0" |
| 457 | CELLSPACING="0" |
| 458 | CELLPADDING="4" |
| 459 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 460 | ><TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 461 | ><TR |
| 462 | ><TD |
| 463 | WIDTH="20%" |
| 464 | ALIGN="RIGHT" |
| 465 | VALIGN="TOP" |
| 466 | ><TT |
| 467 | CLASS="PARAMETER" |
| 468 | ><I |
| 469 | >URI</I |
| 470 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 471 | > :</TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 472 | ><TD |
| 473 | WIDTH="80%" |
| 474 | ALIGN="LEFT" |
| 475 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 476 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 477 | ></TR |
| 478 | ><TR |
| 479 | ><TD |
| 480 | WIDTH="20%" |
| 481 | ALIGN="RIGHT" |
| 482 | VALIGN="TOP" |
| 483 | ><TT |
| 484 | CLASS="PARAMETER" |
| 485 | ><I |
| 486 | >base</I |
| 487 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 488 | > :</TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 489 | ><TD |
| 490 | WIDTH="80%" |
| 491 | ALIGN="LEFT" |
| 492 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 493 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 494 | ></TR |
| 495 | ><TR |
| 496 | ><TD |
| 497 | WIDTH="20%" |
| 498 | ALIGN="RIGHT" |
| 499 | VALIGN="TOP" |
| 500 | ><I |
| 501 | CLASS="EMPHASIS" |
| 502 | >Returns</I |
| 503 | > :</TD |
| 504 | ><TD |
| 505 | WIDTH="80%" |
| 506 | ALIGN="LEFT" |
| 507 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 508 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 509 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 510 | ></TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 511 | ></TABLE |
| 512 | ><P |
| 513 | ></P |
| 514 | ></DIV |
| 515 | ></DIV |
| 516 | ><HR><DIV |
| 517 | CLASS="REFSECT2" |
| 518 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 519 | NAME="AEN10199" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 520 | ></A |
| 521 | ><H3 |
| 522 | ><A |
| 523 | NAME="XMLPARSEURI" |
| 524 | ></A |
| 525 | >xmlParseURI ()</H3 |
| 526 | ><TABLE |
| 527 | BORDER="0" |
| 528 | BGCOLOR="#D6E8FF" |
| 529 | WIDTH="100%" |
| 530 | CELLPADDING="6" |
| 531 | ><TR |
| 532 | ><TD |
| 533 | ><PRE |
| 534 | CLASS="PROGRAMLISTING" |
| 535 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 536 | HREF="libxml-uri.html#XMLURIPTR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 537 | >xmlURIPtr</A |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 538 | > xmlParseURI (const char *URI);</PRE |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 539 | ></TD |
| 540 | ></TR |
| 541 | ></TABLE |
| 542 | ><P |
| 543 | >Parse an URI </P |
| 544 | ><P |
| 545 | >URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]</P |
| 546 | ><P |
| 547 | ></P |
| 548 | ><DIV |
| 549 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 550 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 551 | NAME="AEN10207" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 552 | ></A |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 553 | ><P |
| 554 | ></P |
| 555 | ><TABLE |
| 556 | BORDER="0" |
| 557 | WIDTH="100%" |
| 558 | BGCOLOR="#FFD0D0" |
| 559 | CELLSPACING="0" |
| 560 | CELLPADDING="4" |
| 561 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 562 | ><TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 563 | ><TR |
| 564 | ><TD |
| 565 | WIDTH="20%" |
| 566 | ALIGN="RIGHT" |
| 567 | VALIGN="TOP" |
| 568 | ><TT |
| 569 | CLASS="PARAMETER" |
| 570 | ><I |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 571 | >URI</I |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 572 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 573 | > :</TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 574 | ><TD |
| 575 | WIDTH="80%" |
| 576 | ALIGN="LEFT" |
| 577 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 578 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 579 | ></TR |
| 580 | ><TR |
| 581 | ><TD |
| 582 | WIDTH="20%" |
| 583 | ALIGN="RIGHT" |
| 584 | VALIGN="TOP" |
| 585 | ><I |
| 586 | CLASS="EMPHASIS" |
| 587 | >Returns</I |
| 588 | > :</TD |
| 589 | ><TD |
| 590 | WIDTH="80%" |
| 591 | ALIGN="LEFT" |
| 592 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 593 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 594 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 595 | ></TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 596 | ></TABLE |
| 597 | ><P |
| 598 | ></P |
| 599 | ></DIV |
| 600 | ></DIV |
| 601 | ><HR><DIV |
| 602 | CLASS="REFSECT2" |
| 603 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 604 | NAME="AEN10220" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 605 | ></A |
| 606 | ><H3 |
| 607 | ><A |
| 608 | NAME="XMLPARSEURIREFERENCE" |
| 609 | ></A |
| 610 | >xmlParseURIReference ()</H3 |
| 611 | ><TABLE |
| 612 | BORDER="0" |
| 613 | BGCOLOR="#D6E8FF" |
| 614 | WIDTH="100%" |
| 615 | CELLPADDING="6" |
| 616 | ><TR |
| 617 | ><TD |
| 618 | ><PRE |
| 619 | CLASS="PROGRAMLISTING" |
| 620 | >int xmlParseURIReference (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 621 | HREF="libxml-uri.html#XMLURIPTR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 622 | >xmlURIPtr</A |
| 623 | > uri, |
| 624 | const char *str);</PRE |
| 625 | ></TD |
| 626 | ></TR |
| 627 | ></TABLE |
| 628 | ><P |
| 629 | >Parse an URI reference string and fills in the appropriate fields |
| 630 | of the <TT |
| 631 | CLASS="PARAMETER" |
| 632 | ><I |
| 633 | >uri</I |
| 634 | ></TT |
| 635 | > structure</P |
| 636 | ><P |
| 637 | >URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]</P |
| 638 | ><P |
| 639 | ></P |
| 640 | ><DIV |
| 641 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 642 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 643 | NAME="AEN10229" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 644 | ></A |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 645 | ><P |
| 646 | ></P |
| 647 | ><TABLE |
| 648 | BORDER="0" |
| 649 | WIDTH="100%" |
| 650 | BGCOLOR="#FFD0D0" |
| 651 | CELLSPACING="0" |
| 652 | CELLPADDING="4" |
| 653 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 654 | ><TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 655 | ><TR |
| 656 | ><TD |
| 657 | WIDTH="20%" |
| 658 | ALIGN="RIGHT" |
| 659 | VALIGN="TOP" |
| 660 | ><TT |
| 661 | CLASS="PARAMETER" |
| 662 | ><I |
| 663 | >uri</I |
| 664 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 665 | > :</TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 666 | ><TD |
| 667 | WIDTH="80%" |
| 668 | ALIGN="LEFT" |
| 669 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 670 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 671 | ></TR |
| 672 | ><TR |
| 673 | ><TD |
| 674 | WIDTH="20%" |
| 675 | ALIGN="RIGHT" |
| 676 | VALIGN="TOP" |
| 677 | ><TT |
| 678 | CLASS="PARAMETER" |
| 679 | ><I |
| 680 | >str</I |
| 681 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 682 | > :</TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 683 | ><TD |
| 684 | WIDTH="80%" |
| 685 | ALIGN="LEFT" |
| 686 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 687 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 688 | ></TR |
| 689 | ><TR |
| 690 | ><TD |
| 691 | WIDTH="20%" |
| 692 | ALIGN="RIGHT" |
| 693 | VALIGN="TOP" |
| 694 | ><I |
| 695 | CLASS="EMPHASIS" |
| 696 | >Returns</I |
| 697 | > :</TD |
| 698 | ><TD |
| 699 | WIDTH="80%" |
| 700 | ALIGN="LEFT" |
| 701 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 702 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 703 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 704 | ></TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 705 | ></TABLE |
| 706 | ><P |
| 707 | ></P |
| 708 | ></DIV |
| 709 | ></DIV |
| 710 | ><HR><DIV |
| 711 | CLASS="REFSECT2" |
| 712 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 713 | NAME="AEN10246" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 714 | ></A |
| 715 | ><H3 |
| 716 | ><A |
| 717 | NAME="XMLSAVEURI" |
| 718 | ></A |
| 719 | >xmlSaveUri ()</H3 |
| 720 | ><TABLE |
| 721 | BORDER="0" |
| 722 | BGCOLOR="#D6E8FF" |
| 723 | WIDTH="100%" |
| 724 | CELLPADDING="6" |
| 725 | ><TR |
| 726 | ><TD |
| 727 | ><PRE |
| 728 | CLASS="PROGRAMLISTING" |
| 729 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 730 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 731 | >xmlChar</A |
| 732 | >* xmlSaveUri (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 733 | HREF="libxml-uri.html#XMLURIPTR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 734 | >xmlURIPtr</A |
| 735 | > uri);</PRE |
| 736 | ></TD |
| 737 | ></TR |
| 738 | ></TABLE |
| 739 | ><P |
| 740 | >Save the URI as an escaped string</P |
| 741 | ><P |
| 742 | ></P |
| 743 | ><DIV |
| 744 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 745 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 746 | NAME="AEN10254" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 747 | ></A |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 748 | ><P |
| 749 | ></P |
| 750 | ><TABLE |
| 751 | BORDER="0" |
| 752 | WIDTH="100%" |
| 753 | BGCOLOR="#FFD0D0" |
| 754 | CELLSPACING="0" |
| 755 | CELLPADDING="4" |
| 756 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 757 | ><TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 758 | ><TR |
| 759 | ><TD |
| 760 | WIDTH="20%" |
| 761 | ALIGN="RIGHT" |
| 762 | VALIGN="TOP" |
| 763 | ><TT |
| 764 | CLASS="PARAMETER" |
| 765 | ><I |
| 766 | >uri</I |
| 767 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 768 | > :</TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 769 | ><TD |
| 770 | WIDTH="80%" |
| 771 | ALIGN="LEFT" |
| 772 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 773 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 774 | ></TR |
| 775 | ><TR |
| 776 | ><TD |
| 777 | WIDTH="20%" |
| 778 | ALIGN="RIGHT" |
| 779 | VALIGN="TOP" |
| 780 | ><I |
| 781 | CLASS="EMPHASIS" |
| 782 | >Returns</I |
| 783 | > :</TD |
| 784 | ><TD |
| 785 | WIDTH="80%" |
| 786 | ALIGN="LEFT" |
| 787 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 788 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 789 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 790 | ></TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 791 | ></TABLE |
| 792 | ><P |
| 793 | ></P |
| 794 | ></DIV |
| 795 | ></DIV |
| 796 | ><HR><DIV |
| 797 | CLASS="REFSECT2" |
| 798 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 799 | NAME="AEN10267" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 800 | ></A |
| 801 | ><H3 |
| 802 | ><A |
| 803 | NAME="XMLPRINTURI" |
| 804 | ></A |
| 805 | >xmlPrintURI ()</H3 |
| 806 | ><TABLE |
| 807 | BORDER="0" |
| 808 | BGCOLOR="#D6E8FF" |
| 809 | WIDTH="100%" |
| 810 | CELLPADDING="6" |
| 811 | ><TR |
| 812 | ><TD |
| 813 | ><PRE |
| 814 | CLASS="PROGRAMLISTING" |
| 815 | >void xmlPrintURI (<GTKDOCLINK |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 816 | HREF="FILE-CAPS" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 817 | >FILE</GTKDOCLINK |
| 818 | > *stream, |
| 819 | <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 820 | HREF="libxml-uri.html#XMLURIPTR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 821 | >xmlURIPtr</A |
| 822 | > uri);</PRE |
| 823 | ></TD |
| 824 | ></TR |
| 825 | ></TABLE |
| 826 | ><P |
| 827 | >Prints the URI in the stream <TT |
| 828 | CLASS="PARAMETER" |
| 829 | ><I |
| 830 | >steam</I |
| 831 | ></TT |
| 832 | >.</P |
| 833 | ><P |
| 834 | ></P |
| 835 | ><DIV |
| 836 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 837 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 838 | NAME="AEN10276" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 839 | ></A |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 840 | ><P |
| 841 | ></P |
| 842 | ><TABLE |
| 843 | BORDER="0" |
| 844 | WIDTH="100%" |
| 845 | BGCOLOR="#FFD0D0" |
| 846 | CELLSPACING="0" |
| 847 | CELLPADDING="4" |
| 848 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 849 | ><TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 850 | ><TR |
| 851 | ><TD |
| 852 | WIDTH="20%" |
| 853 | ALIGN="RIGHT" |
| 854 | VALIGN="TOP" |
| 855 | ><TT |
| 856 | CLASS="PARAMETER" |
| 857 | ><I |
| 858 | >stream</I |
| 859 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 860 | > :</TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 861 | ><TD |
| 862 | WIDTH="80%" |
| 863 | ALIGN="LEFT" |
| 864 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 865 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 866 | ></TR |
| 867 | ><TR |
| 868 | ><TD |
| 869 | WIDTH="20%" |
| 870 | ALIGN="RIGHT" |
| 871 | VALIGN="TOP" |
| 872 | ><TT |
| 873 | CLASS="PARAMETER" |
| 874 | ><I |
| 875 | >uri</I |
| 876 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 877 | > :</TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 878 | ><TD |
| 879 | WIDTH="80%" |
| 880 | ALIGN="LEFT" |
| 881 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 882 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 883 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 884 | ></TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 885 | ></TABLE |
| 886 | ><P |
| 887 | ></P |
| 888 | ></DIV |
| 889 | ></DIV |
| 890 | ><HR><DIV |
| 891 | CLASS="REFSECT2" |
| 892 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 893 | NAME="AEN10289" |
Daniel Veillard | 4ec885a | 2001-06-17 10:31:07 +0000 | [diff] [blame] | 894 | ></A |
| 895 | ><H3 |
| 896 | ><A |
| 897 | NAME="XMLURIESCAPESTR" |
| 898 | ></A |
| 899 | >xmlURIEscapeStr ()</H3 |
| 900 | ><TABLE |
| 901 | BORDER="0" |
| 902 | BGCOLOR="#D6E8FF" |
| 903 | WIDTH="100%" |
| 904 | CELLPADDING="6" |
| 905 | ><TR |
| 906 | ><TD |
| 907 | ><PRE |
| 908 | CLASS="PROGRAMLISTING" |
| 909 | ><A |
| 910 | HREF="libxml-tree.html#XMLCHAR" |
| 911 | >xmlChar</A |
| 912 | >* xmlURIEscapeStr (const <A |
| 913 | HREF="libxml-tree.html#XMLCHAR" |
| 914 | >xmlChar</A |
| 915 | > *str, |
| 916 | const <A |
| 917 | HREF="libxml-tree.html#XMLCHAR" |
| 918 | >xmlChar</A |
| 919 | > *list);</PRE |
| 920 | ></TD |
| 921 | ></TR |
| 922 | ></TABLE |
| 923 | ><P |
| 924 | >This routine escapes a string to hex, ignoring reserved characters (a-z) |
| 925 | and the characters in the exception list.</P |
| 926 | ><P |
| 927 | ></P |
| 928 | ><DIV |
| 929 | CLASS="INFORMALTABLE" |
| 930 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 931 | NAME="AEN10298" |
Daniel Veillard | 4ec885a | 2001-06-17 10:31:07 +0000 | [diff] [blame] | 932 | ></A |
| 933 | ><P |
| 934 | ></P |
| 935 | ><TABLE |
| 936 | BORDER="0" |
| 937 | WIDTH="100%" |
| 938 | BGCOLOR="#FFD0D0" |
| 939 | CELLSPACING="0" |
| 940 | CELLPADDING="4" |
| 941 | CLASS="CALSTABLE" |
| 942 | ><TBODY |
| 943 | ><TR |
| 944 | ><TD |
| 945 | WIDTH="20%" |
| 946 | ALIGN="RIGHT" |
| 947 | VALIGN="TOP" |
| 948 | ><TT |
| 949 | CLASS="PARAMETER" |
| 950 | ><I |
| 951 | >str</I |
| 952 | ></TT |
| 953 | > :</TD |
| 954 | ><TD |
| 955 | WIDTH="80%" |
| 956 | ALIGN="LEFT" |
| 957 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 958 | > </TD |
Daniel Veillard | 4ec885a | 2001-06-17 10:31:07 +0000 | [diff] [blame] | 959 | ></TR |
| 960 | ><TR |
| 961 | ><TD |
| 962 | WIDTH="20%" |
| 963 | ALIGN="RIGHT" |
| 964 | VALIGN="TOP" |
| 965 | ><TT |
| 966 | CLASS="PARAMETER" |
| 967 | ><I |
| 968 | >list</I |
| 969 | ></TT |
| 970 | > :</TD |
| 971 | ><TD |
| 972 | WIDTH="80%" |
| 973 | ALIGN="LEFT" |
| 974 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 975 | > </TD |
Daniel Veillard | 4ec885a | 2001-06-17 10:31:07 +0000 | [diff] [blame] | 976 | ></TR |
| 977 | ><TR |
| 978 | ><TD |
| 979 | WIDTH="20%" |
| 980 | ALIGN="RIGHT" |
| 981 | VALIGN="TOP" |
| 982 | ><I |
| 983 | CLASS="EMPHASIS" |
| 984 | >Returns</I |
| 985 | > :</TD |
| 986 | ><TD |
| 987 | WIDTH="80%" |
| 988 | ALIGN="LEFT" |
| 989 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 990 | > </TD |
Daniel Veillard | 4ec885a | 2001-06-17 10:31:07 +0000 | [diff] [blame] | 991 | ></TR |
| 992 | ></TBODY |
| 993 | ></TABLE |
| 994 | ><P |
| 995 | ></P |
| 996 | ></DIV |
| 997 | ></DIV |
| 998 | ><HR><DIV |
| 999 | CLASS="REFSECT2" |
| 1000 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 1001 | NAME="AEN10315" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1002 | ></A |
| 1003 | ><H3 |
| 1004 | ><A |
| 1005 | NAME="XMLURIUNESCAPESTRING" |
| 1006 | ></A |
| 1007 | >xmlURIUnescapeString ()</H3 |
| 1008 | ><TABLE |
| 1009 | BORDER="0" |
| 1010 | BGCOLOR="#D6E8FF" |
| 1011 | WIDTH="100%" |
| 1012 | CELLPADDING="6" |
| 1013 | ><TR |
| 1014 | ><TD |
| 1015 | ><PRE |
| 1016 | CLASS="PROGRAMLISTING" |
| 1017 | >char* xmlURIUnescapeString (const char *str, |
| 1018 | int len, |
| 1019 | char *target);</PRE |
| 1020 | ></TD |
| 1021 | ></TR |
| 1022 | ></TABLE |
| 1023 | ><P |
| 1024 | >Unescaping routine, does not do validity checks ! |
| 1025 | Output is direct unsigned char translation of <TT |
| 1026 | CLASS="LITERAL" |
| 1027 | >XX</TT |
| 1028 | > values (no encoding)</P |
| 1029 | ><P |
| 1030 | ></P |
| 1031 | ><DIV |
| 1032 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1033 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 1034 | NAME="AEN10322" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1035 | ></A |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1036 | ><P |
| 1037 | ></P |
| 1038 | ><TABLE |
| 1039 | BORDER="0" |
| 1040 | WIDTH="100%" |
| 1041 | BGCOLOR="#FFD0D0" |
| 1042 | CELLSPACING="0" |
| 1043 | CELLPADDING="4" |
| 1044 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1045 | ><TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1046 | ><TR |
| 1047 | ><TD |
| 1048 | WIDTH="20%" |
| 1049 | ALIGN="RIGHT" |
| 1050 | VALIGN="TOP" |
| 1051 | ><TT |
| 1052 | CLASS="PARAMETER" |
| 1053 | ><I |
| 1054 | >str</I |
| 1055 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1056 | > :</TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1057 | ><TD |
| 1058 | WIDTH="80%" |
| 1059 | ALIGN="LEFT" |
| 1060 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 1061 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1062 | ></TR |
| 1063 | ><TR |
| 1064 | ><TD |
| 1065 | WIDTH="20%" |
| 1066 | ALIGN="RIGHT" |
| 1067 | VALIGN="TOP" |
| 1068 | ><TT |
| 1069 | CLASS="PARAMETER" |
| 1070 | ><I |
| 1071 | >len</I |
| 1072 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1073 | > :</TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1074 | ><TD |
| 1075 | WIDTH="80%" |
| 1076 | ALIGN="LEFT" |
| 1077 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 1078 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1079 | ></TR |
| 1080 | ><TR |
| 1081 | ><TD |
| 1082 | WIDTH="20%" |
| 1083 | ALIGN="RIGHT" |
| 1084 | VALIGN="TOP" |
| 1085 | ><TT |
| 1086 | CLASS="PARAMETER" |
| 1087 | ><I |
| 1088 | >target</I |
| 1089 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1090 | > :</TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1091 | ><TD |
| 1092 | WIDTH="80%" |
| 1093 | ALIGN="LEFT" |
| 1094 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 1095 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1096 | ></TR |
| 1097 | ><TR |
| 1098 | ><TD |
| 1099 | WIDTH="20%" |
| 1100 | ALIGN="RIGHT" |
| 1101 | VALIGN="TOP" |
| 1102 | ><I |
| 1103 | CLASS="EMPHASIS" |
| 1104 | >Returns</I |
| 1105 | > :</TD |
| 1106 | ><TD |
| 1107 | WIDTH="80%" |
| 1108 | ALIGN="LEFT" |
| 1109 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 1110 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1111 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1112 | ></TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1113 | ></TABLE |
| 1114 | ><P |
| 1115 | ></P |
| 1116 | ></DIV |
| 1117 | ></DIV |
| 1118 | ><HR><DIV |
| 1119 | CLASS="REFSECT2" |
| 1120 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 1121 | NAME="AEN10343" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1122 | ></A |
| 1123 | ><H3 |
| 1124 | ><A |
| 1125 | NAME="XMLNORMALIZEURIPATH" |
| 1126 | ></A |
| 1127 | >xmlNormalizeURIPath ()</H3 |
| 1128 | ><TABLE |
| 1129 | BORDER="0" |
| 1130 | BGCOLOR="#D6E8FF" |
| 1131 | WIDTH="100%" |
| 1132 | CELLPADDING="6" |
| 1133 | ><TR |
| 1134 | ><TD |
| 1135 | ><PRE |
| 1136 | CLASS="PROGRAMLISTING" |
| 1137 | >int xmlNormalizeURIPath (char *path);</PRE |
| 1138 | ></TD |
| 1139 | ></TR |
| 1140 | ></TABLE |
| 1141 | ><P |
Daniel Veillard | d194dd2 | 2001-02-14 10:37:43 +0000 | [diff] [blame] | 1142 | >Applies the 5 normalization steps to a path string--that is, RFC 2396 |
| 1143 | Section 5.2, steps 6.c through 6.g.</P |
| 1144 | ><P |
| 1145 | >Normalization occurs directly on the string, no new allocation is done</P |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1146 | ><P |
| 1147 | ></P |
| 1148 | ><DIV |
| 1149 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1150 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 1151 | NAME="AEN10350" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1152 | ></A |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1153 | ><P |
| 1154 | ></P |
| 1155 | ><TABLE |
| 1156 | BORDER="0" |
| 1157 | WIDTH="100%" |
| 1158 | BGCOLOR="#FFD0D0" |
| 1159 | CELLSPACING="0" |
| 1160 | CELLPADDING="4" |
| 1161 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1162 | ><TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1163 | ><TR |
| 1164 | ><TD |
| 1165 | WIDTH="20%" |
| 1166 | ALIGN="RIGHT" |
| 1167 | VALIGN="TOP" |
| 1168 | ><TT |
| 1169 | CLASS="PARAMETER" |
| 1170 | ><I |
| 1171 | >path</I |
| 1172 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1173 | > :</TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1174 | ><TD |
| 1175 | WIDTH="80%" |
| 1176 | ALIGN="LEFT" |
| 1177 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 1178 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1179 | ></TR |
| 1180 | ><TR |
| 1181 | ><TD |
| 1182 | WIDTH="20%" |
| 1183 | ALIGN="RIGHT" |
| 1184 | VALIGN="TOP" |
| 1185 | ><I |
| 1186 | CLASS="EMPHASIS" |
| 1187 | >Returns</I |
| 1188 | > :</TD |
| 1189 | ><TD |
| 1190 | WIDTH="80%" |
| 1191 | ALIGN="LEFT" |
| 1192 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 1193 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1194 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1195 | ></TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1196 | ></TABLE |
| 1197 | ><P |
| 1198 | ></P |
| 1199 | ></DIV |
| 1200 | ></DIV |
| 1201 | ><HR><DIV |
| 1202 | CLASS="REFSECT2" |
| 1203 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 1204 | NAME="AEN10363" |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame] | 1205 | ></A |
| 1206 | ><H3 |
| 1207 | ><A |
| 1208 | NAME="XMLURIESCAPE" |
| 1209 | ></A |
| 1210 | >xmlURIEscape ()</H3 |
| 1211 | ><TABLE |
| 1212 | BORDER="0" |
| 1213 | BGCOLOR="#D6E8FF" |
| 1214 | WIDTH="100%" |
| 1215 | CELLPADDING="6" |
| 1216 | ><TR |
| 1217 | ><TD |
| 1218 | ><PRE |
| 1219 | CLASS="PROGRAMLISTING" |
| 1220 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1221 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame] | 1222 | >xmlChar</A |
| 1223 | >* xmlURIEscape (const <A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1224 | HREF="libxml-tree.html#XMLCHAR" |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame] | 1225 | >xmlChar</A |
| 1226 | > *str);</PRE |
| 1227 | ></TD |
| 1228 | ></TR |
| 1229 | ></TABLE |
| 1230 | ><P |
| 1231 | >Escaping routine, does not do validity checks ! |
| 1232 | It will try to escape the chars needing this, but this is heuristic |
| 1233 | based it's impossible to be sure.</P |
| 1234 | ><P |
| 1235 | ></P |
| 1236 | ><DIV |
| 1237 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1238 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 1239 | NAME="AEN10371" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1240 | ></A |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame] | 1241 | ><P |
| 1242 | ></P |
| 1243 | ><TABLE |
| 1244 | BORDER="0" |
| 1245 | WIDTH="100%" |
| 1246 | BGCOLOR="#FFD0D0" |
| 1247 | CELLSPACING="0" |
| 1248 | CELLPADDING="4" |
| 1249 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1250 | ><TBODY |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame] | 1251 | ><TR |
| 1252 | ><TD |
| 1253 | WIDTH="20%" |
| 1254 | ALIGN="RIGHT" |
| 1255 | VALIGN="TOP" |
| 1256 | ><TT |
| 1257 | CLASS="PARAMETER" |
| 1258 | ><I |
| 1259 | >str</I |
| 1260 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1261 | > :</TD |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame] | 1262 | ><TD |
| 1263 | WIDTH="80%" |
| 1264 | ALIGN="LEFT" |
| 1265 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 1266 | > </TD |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame] | 1267 | ></TR |
| 1268 | ><TR |
| 1269 | ><TD |
| 1270 | WIDTH="20%" |
| 1271 | ALIGN="RIGHT" |
| 1272 | VALIGN="TOP" |
| 1273 | ><I |
| 1274 | CLASS="EMPHASIS" |
| 1275 | >Returns</I |
| 1276 | > :</TD |
| 1277 | ><TD |
| 1278 | WIDTH="80%" |
| 1279 | ALIGN="LEFT" |
| 1280 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 1281 | > </TD |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame] | 1282 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1283 | ></TBODY |
Daniel Veillard | 28929b2 | 2000-11-13 18:22:49 +0000 | [diff] [blame] | 1284 | ></TABLE |
| 1285 | ><P |
| 1286 | ></P |
| 1287 | ></DIV |
| 1288 | ></DIV |
| 1289 | ><HR><DIV |
| 1290 | CLASS="REFSECT2" |
| 1291 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 1292 | NAME="AEN10384" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1293 | ></A |
| 1294 | ><H3 |
| 1295 | ><A |
| 1296 | NAME="XMLFREEURI" |
| 1297 | ></A |
| 1298 | >xmlFreeURI ()</H3 |
| 1299 | ><TABLE |
| 1300 | BORDER="0" |
| 1301 | BGCOLOR="#D6E8FF" |
| 1302 | WIDTH="100%" |
| 1303 | CELLPADDING="6" |
| 1304 | ><TR |
| 1305 | ><TD |
| 1306 | ><PRE |
| 1307 | CLASS="PROGRAMLISTING" |
| 1308 | >void xmlFreeURI (<A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1309 | HREF="libxml-uri.html#XMLURIPTR" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1310 | >xmlURIPtr</A |
| 1311 | > uri);</PRE |
| 1312 | ></TD |
| 1313 | ></TR |
| 1314 | ></TABLE |
| 1315 | ><P |
| 1316 | >Free up the xmlURI struct</P |
| 1317 | ><P |
| 1318 | ></P |
| 1319 | ><DIV |
| 1320 | CLASS="INFORMALTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1321 | ><A |
Daniel Veillard | 43d3f61 | 2001-11-10 11:57:23 +0000 | [diff] [blame^] | 1322 | NAME="AEN10391" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1323 | ></A |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1324 | ><P |
| 1325 | ></P |
| 1326 | ><TABLE |
| 1327 | BORDER="0" |
| 1328 | WIDTH="100%" |
| 1329 | BGCOLOR="#FFD0D0" |
| 1330 | CELLSPACING="0" |
| 1331 | CELLPADDING="4" |
| 1332 | CLASS="CALSTABLE" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1333 | ><TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1334 | ><TR |
| 1335 | ><TD |
| 1336 | WIDTH="20%" |
| 1337 | ALIGN="RIGHT" |
| 1338 | VALIGN="TOP" |
| 1339 | ><TT |
| 1340 | CLASS="PARAMETER" |
| 1341 | ><I |
| 1342 | >uri</I |
| 1343 | ></TT |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1344 | > :</TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1345 | ><TD |
| 1346 | WIDTH="80%" |
| 1347 | ALIGN="LEFT" |
| 1348 | VALIGN="TOP" |
Daniel Veillard | e7ead2d | 2001-08-22 23:44:09 +0000 | [diff] [blame] | 1349 | > </TD |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1350 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 1351 | ></TBODY |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1352 | ></TABLE |
| 1353 | ><P |
| 1354 | ></P |
| 1355 | ></DIV |
| 1356 | ></DIV |
| 1357 | ></DIV |
| 1358 | ><DIV |
| 1359 | CLASS="NAVFOOTER" |
| 1360 | ><BR |
| 1361 | CLEAR="all"><BR><TABLE |
| 1362 | WIDTH="100%" |
| 1363 | BORDER="0" |
| 1364 | BGCOLOR="#000000" |
| 1365 | CELLPADDING="1" |
| 1366 | CELLSPACING="0" |
| 1367 | ><TR |
| 1368 | ><TD |
| 1369 | WIDTH="25%" |
| 1370 | BGCOLOR="#C00000" |
| 1371 | ALIGN="left" |
| 1372 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 1373 | HREF="libxml-valid.html" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1374 | ><FONT |
| 1375 | COLOR="#FFFFFF" |
| 1376 | SIZE="3" |
| 1377 | ><B |
| 1378 | ><<< Previous Page</B |
| 1379 | ></FONT |
| 1380 | ></A |
| 1381 | ></TD |
| 1382 | ><TD |
| 1383 | WIDTH="25%" |
| 1384 | BGCOLOR="#0000C0" |
| 1385 | ALIGN="center" |
| 1386 | ><FONT |
| 1387 | COLOR="#FFFFFF" |
| 1388 | SIZE="3" |
| 1389 | ><B |
| 1390 | ><A |
| 1391 | HREF="book1.html" |
| 1392 | ><FONT |
| 1393 | COLOR="#FFFFFF" |
| 1394 | SIZE="3" |
| 1395 | ><B |
| 1396 | >Home</B |
| 1397 | ></FONT |
| 1398 | ></A |
| 1399 | ></B |
| 1400 | ></FONT |
| 1401 | ></TD |
| 1402 | ><TD |
| 1403 | WIDTH="25%" |
| 1404 | BGCOLOR="#00C000" |
| 1405 | ALIGN="center" |
| 1406 | ><FONT |
| 1407 | COLOR="#FFFFFF" |
| 1408 | SIZE="3" |
| 1409 | ><B |
| 1410 | ><A |
| 1411 | HREF="libxml-lib.html" |
| 1412 | ><FONT |
| 1413 | COLOR="#FFFFFF" |
| 1414 | SIZE="3" |
| 1415 | ><B |
| 1416 | >Up</B |
| 1417 | ></FONT |
| 1418 | ></A |
| 1419 | ></B |
| 1420 | ></FONT |
| 1421 | ></TD |
| 1422 | ><TD |
| 1423 | WIDTH="25%" |
| 1424 | BGCOLOR="#C00000" |
| 1425 | ALIGN="right" |
| 1426 | ><A |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1427 | HREF="libxml-xmlerror.html" |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1428 | ><FONT |
| 1429 | COLOR="#FFFFFF" |
| 1430 | SIZE="3" |
| 1431 | ><B |
| 1432 | >Next Page >>></B |
| 1433 | ></FONT |
| 1434 | ></A |
| 1435 | ></TD |
| 1436 | ></TR |
| 1437 | ><TR |
| 1438 | ><TD |
| 1439 | COLSPAN="2" |
| 1440 | ALIGN="left" |
| 1441 | ><FONT |
| 1442 | COLOR="#FFFFFF" |
| 1443 | SIZE="3" |
| 1444 | ><B |
| 1445 | >valid</B |
| 1446 | ></FONT |
| 1447 | ></TD |
| 1448 | ><TD |
| 1449 | COLSPAN="2" |
| 1450 | ALIGN="right" |
| 1451 | ><FONT |
| 1452 | COLOR="#FFFFFF" |
| 1453 | SIZE="3" |
| 1454 | ><B |
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 1455 | >xmlerror</B |
Daniel Veillard | b732a0e | 2000-10-15 11:27:01 +0000 | [diff] [blame] | 1456 | ></FONT |
| 1457 | ></TD |
| 1458 | ></TR |
| 1459 | ></TABLE |
| 1460 | ></DIV |
| 1461 | ></BODY |
| 1462 | ></HTML |
| 1463 | > |