blob: 64706e19836edef9fc2ccb9e0e8b8b44a32eed55 [file] [log] [blame]
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001<HTML
2><HEAD
3><TITLE
4>uri</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard60087f32001-10-10 09:45:09 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8"><LINK
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
13TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
15REL="PREVIOUS"
16TITLE="valid"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000017HREF="libxml-valid.html"><LINK
Daniel Veillardb732a0e2000-10-15 11:27:01 +000018REL="NEXT"
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000019TITLE="xmlerror"
20HREF="libxml-xmlerror.html"></HEAD
Daniel Veillardb732a0e2000-10-15 11:27:01 +000021><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000022CLASS="REFENTRY"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000023BGCOLOR="#FFFFFF"
24TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000025LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000028><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
33BGCOLOR="#000000"
34CELLPADDING="1"
35CELLSPACING="0"
36><TR
37><TH
38COLSPAN="4"
39ALIGN="center"
40><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
45></TR
46><TR
47><TD
48WIDTH="25%"
49BGCOLOR="#C00000"
50ALIGN="left"
51><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000052HREF="libxml-valid.html"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000053><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
60></TD
61><TD
62WIDTH="25%"
63BGCOLOR="#0000C0"
64ALIGN="center"
65><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
80></TD
81><TD
82WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
90HREF="libxml-lib.html"
91><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
104ALIGN="right"
105><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000106HREF="libxml-xmlerror.html"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
114></TD
115></TR
116></TABLE
117></DIV
118><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000119><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000120NAME="LIBXML-URI"
Daniel Veillard503b8932001-01-05 06:36:31 +0000121>uri</A
122></H1
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000123><DIV
124CLASS="REFNAMEDIV"
125><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000126NAME="AEN10106"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000127></A
128><H2
129>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000130>uri&nbsp;--&nbsp;</DIV
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000134NAME="AEN10109"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000135></A
136><H2
137>Synopsis</H2
138><TABLE
139BORDER="0"
140BGCOLOR="#D6E8FF"
141WIDTH="100%"
142CELLPADDING="6"
143><TR
144><TD
145><PRE
146CLASS="SYNOPSIS"
147>&#13;
148
149struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000150HREF="libxml-uri.html#XMLURI"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000151>xmlURI</A
152>;
153typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000154HREF="libxml-uri.html#XMLURIPTR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000155>xmlURIPtr</A
156>;
157<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000158HREF="libxml-uri.html#XMLURIPTR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000159>xmlURIPtr</A
160> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000161HREF="libxml-uri.html#XMLCREATEURI"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000162>xmlCreateURI</A
163> (void);
164<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000165HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000166>xmlChar</A
167>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000168HREF="libxml-uri.html#XMLBUILDURI"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000169>xmlBuildURI</A
170> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000171HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000172>xmlChar</A
173> *URI,
174 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000175HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000176>xmlChar</A
177> *base);
178<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000179HREF="libxml-uri.html#XMLURIPTR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000180>xmlURIPtr</A
181> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000182HREF="libxml-uri.html#XMLPARSEURI"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000183>xmlParseURI</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000184> (const char *URI);
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000185int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000186HREF="libxml-uri.html#XMLPARSEURIREFERENCE"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000187>xmlParseURIReference</A
188> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000189HREF="libxml-uri.html#XMLURIPTR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000190>xmlURIPtr</A
191> uri,
192 const char *str);
193<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000194HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000195>xmlChar</A
196>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000197HREF="libxml-uri.html#XMLSAVEURI"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000198>xmlSaveUri</A
199> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000200HREF="libxml-uri.html#XMLURIPTR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000201>xmlURIPtr</A
202> uri);
203void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000204HREF="libxml-uri.html#XMLPRINTURI"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000205>xmlPrintURI</A
206> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000207HREF="FILE-CAPS"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000208>FILE</GTKDOCLINK
209> *stream,
210 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000211HREF="libxml-uri.html#XMLURIPTR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000212>xmlURIPtr</A
213> uri);
Daniel Veillard4ec885a2001-06-17 10:31:07 +0000214<A
215HREF="libxml-tree.html#XMLCHAR"
216>xmlChar</A
217>* <A
218HREF="libxml-uri.html#XMLURIESCAPESTR"
219>xmlURIEscapeStr</A
220> (const <A
221HREF="libxml-tree.html#XMLCHAR"
222>xmlChar</A
223> *str,
224 const <A
225HREF="libxml-tree.html#XMLCHAR"
226>xmlChar</A
227> *list);
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000228char* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000229HREF="libxml-uri.html#XMLURIUNESCAPESTRING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000230>xmlURIUnescapeString</A
231> (const char *str,
232 int len,
233 char *target);
234int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000235HREF="libxml-uri.html#XMLNORMALIZEURIPATH"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000236>xmlNormalizeURIPath</A
237> (char *path);
Daniel Veillard28929b22000-11-13 18:22:49 +0000238<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000239HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard28929b22000-11-13 18:22:49 +0000240>xmlChar</A
241>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000242HREF="libxml-uri.html#XMLURIESCAPE"
Daniel Veillard28929b22000-11-13 18:22:49 +0000243>xmlURIEscape</A
244> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000245HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard28929b22000-11-13 18:22:49 +0000246>xmlChar</A
247> *str);
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000248void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000249HREF="libxml-uri.html#XMLFREEURI"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000250>xmlFreeURI</A
251> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000252HREF="libxml-uri.html#XMLURIPTR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000253>xmlURIPtr</A
254> uri);</PRE
255></TD
256></TR
257></TABLE
258></DIV
259><DIV
260CLASS="REFSECT1"
261><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000262NAME="AEN10141"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000263></A
264><H2
265>Description</H2
266><P
267></P
268></DIV
269><DIV
270CLASS="REFSECT1"
271><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000272NAME="AEN10144"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000273></A
274><H2
275>Details</H2
276><DIV
277CLASS="REFSECT2"
278><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000279NAME="AEN10146"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000280></A
281><H3
282><A
283NAME="XMLURI"
284></A
285>struct xmlURI</H3
286><TABLE
287BORDER="0"
288BGCOLOR="#D6E8FF"
289WIDTH="100%"
290CELLPADDING="6"
291><TR
292><TD
293><PRE
294CLASS="PROGRAMLISTING"
295>struct xmlURI {
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000296
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};&#13;</PRE
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000316></TD
317></TR
318></TABLE
319><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000320>A parsed URI reference. This is a struct containing the various fields
321as described in RFC 2396 but separated for further processing</P
322><P
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000323></P
324></DIV
325><HR><DIV
326CLASS="REFSECT2"
327><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000328NAME="AEN10152"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000329></A
330><H3
331><A
332NAME="XMLURIPTR"
333></A
334>xmlURIPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000335><P
336></P
337></DIV
338><HR><DIV
339CLASS="REFSECT2"
340><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000341NAME="AEN10156"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000342></A
343><H3
344><A
345NAME="XMLCREATEURI"
346></A
347>xmlCreateURI ()</H3
348><TABLE
349BORDER="0"
350BGCOLOR="#D6E8FF"
351WIDTH="100%"
352CELLPADDING="6"
353><TR
354><TD
355><PRE
356CLASS="PROGRAMLISTING"
357><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000358HREF="libxml-uri.html#XMLURIPTR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000359>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
369CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000370><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000371NAME="AEN10163"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000372></A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000373><P
374></P
375><TABLE
376BORDER="0"
377WIDTH="100%"
378BGCOLOR="#FFD0D0"
379CELLSPACING="0"
380CELLPADDING="4"
381CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000382><TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000383><TR
384><TD
385WIDTH="20%"
386ALIGN="RIGHT"
387VALIGN="TOP"
388><I
389CLASS="EMPHASIS"
390>Returns</I
391> :</TD
392><TD
393WIDTH="80%"
394ALIGN="LEFT"
395VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000396>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000397></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000398></TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000399></TABLE
400><P
401></P
402></DIV
403></DIV
404><HR><DIV
405CLASS="REFSECT2"
406><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000407NAME="AEN10172"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000408></A
409><H3
410><A
411NAME="XMLBUILDURI"
412></A
413>xmlBuildURI ()</H3
414><TABLE
415BORDER="0"
416BGCOLOR="#D6E8FF"
417WIDTH="100%"
418CELLPADDING="6"
419><TR
420><TD
421><PRE
422CLASS="PROGRAMLISTING"
423><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000424HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000425>xmlChar</A
426>* xmlBuildURI (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000427HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000428>xmlChar</A
429> *URI,
430 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000431HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000432>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
439the given URI is valid, and building the final URI using the
440base URI. This is processed according to section 5.2 of the
441RFC 2396</P
442><P
443>5.2. Resolving Relative References to Absolute Form</P
444><P
445></P
446><DIV
447CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000448><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000449NAME="AEN10182"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000450></A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000451><P
452></P
453><TABLE
454BORDER="0"
455WIDTH="100%"
456BGCOLOR="#FFD0D0"
457CELLSPACING="0"
458CELLPADDING="4"
459CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000460><TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000461><TR
462><TD
463WIDTH="20%"
464ALIGN="RIGHT"
465VALIGN="TOP"
466><TT
467CLASS="PARAMETER"
468><I
469>URI</I
470></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000471>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000472><TD
473WIDTH="80%"
474ALIGN="LEFT"
475VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000476>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000477></TR
478><TR
479><TD
480WIDTH="20%"
481ALIGN="RIGHT"
482VALIGN="TOP"
483><TT
484CLASS="PARAMETER"
485><I
486>base</I
487></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000488>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000489><TD
490WIDTH="80%"
491ALIGN="LEFT"
492VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000493>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000494></TR
495><TR
496><TD
497WIDTH="20%"
498ALIGN="RIGHT"
499VALIGN="TOP"
500><I
501CLASS="EMPHASIS"
502>Returns</I
503> :</TD
504><TD
505WIDTH="80%"
506ALIGN="LEFT"
507VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000508>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000509></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000510></TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000511></TABLE
512><P
513></P
514></DIV
515></DIV
516><HR><DIV
517CLASS="REFSECT2"
518><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000519NAME="AEN10199"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000520></A
521><H3
522><A
523NAME="XMLPARSEURI"
524></A
525>xmlParseURI ()</H3
526><TABLE
527BORDER="0"
528BGCOLOR="#D6E8FF"
529WIDTH="100%"
530CELLPADDING="6"
531><TR
532><TD
533><PRE
534CLASS="PROGRAMLISTING"
535><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000536HREF="libxml-uri.html#XMLURIPTR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000537>xmlURIPtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000538> xmlParseURI (const char *URI);</PRE
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000539></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
549CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000550><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000551NAME="AEN10207"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000552></A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000553><P
554></P
555><TABLE
556BORDER="0"
557WIDTH="100%"
558BGCOLOR="#FFD0D0"
559CELLSPACING="0"
560CELLPADDING="4"
561CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000562><TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000563><TR
564><TD
565WIDTH="20%"
566ALIGN="RIGHT"
567VALIGN="TOP"
568><TT
569CLASS="PARAMETER"
570><I
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000571>URI</I
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000572></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000573>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000574><TD
575WIDTH="80%"
576ALIGN="LEFT"
577VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000578>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000579></TR
580><TR
581><TD
582WIDTH="20%"
583ALIGN="RIGHT"
584VALIGN="TOP"
585><I
586CLASS="EMPHASIS"
587>Returns</I
588> :</TD
589><TD
590WIDTH="80%"
591ALIGN="LEFT"
592VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000593>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000594></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000595></TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000596></TABLE
597><P
598></P
599></DIV
600></DIV
601><HR><DIV
602CLASS="REFSECT2"
603><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000604NAME="AEN10220"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000605></A
606><H3
607><A
608NAME="XMLPARSEURIREFERENCE"
609></A
610>xmlParseURIReference ()</H3
611><TABLE
612BORDER="0"
613BGCOLOR="#D6E8FF"
614WIDTH="100%"
615CELLPADDING="6"
616><TR
617><TD
618><PRE
619CLASS="PROGRAMLISTING"
620>int xmlParseURIReference (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000621HREF="libxml-uri.html#XMLURIPTR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000622>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
630of the <TT
631CLASS="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
641CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000642><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000643NAME="AEN10229"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000644></A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000645><P
646></P
647><TABLE
648BORDER="0"
649WIDTH="100%"
650BGCOLOR="#FFD0D0"
651CELLSPACING="0"
652CELLPADDING="4"
653CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000654><TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000655><TR
656><TD
657WIDTH="20%"
658ALIGN="RIGHT"
659VALIGN="TOP"
660><TT
661CLASS="PARAMETER"
662><I
663>uri</I
664></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000665>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000666><TD
667WIDTH="80%"
668ALIGN="LEFT"
669VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000670>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000671></TR
672><TR
673><TD
674WIDTH="20%"
675ALIGN="RIGHT"
676VALIGN="TOP"
677><TT
678CLASS="PARAMETER"
679><I
680>str</I
681></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000682>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000683><TD
684WIDTH="80%"
685ALIGN="LEFT"
686VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000687>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000688></TR
689><TR
690><TD
691WIDTH="20%"
692ALIGN="RIGHT"
693VALIGN="TOP"
694><I
695CLASS="EMPHASIS"
696>Returns</I
697> :</TD
698><TD
699WIDTH="80%"
700ALIGN="LEFT"
701VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000702>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000703></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000704></TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000705></TABLE
706><P
707></P
708></DIV
709></DIV
710><HR><DIV
711CLASS="REFSECT2"
712><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000713NAME="AEN10246"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000714></A
715><H3
716><A
717NAME="XMLSAVEURI"
718></A
719>xmlSaveUri ()</H3
720><TABLE
721BORDER="0"
722BGCOLOR="#D6E8FF"
723WIDTH="100%"
724CELLPADDING="6"
725><TR
726><TD
727><PRE
728CLASS="PROGRAMLISTING"
729><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000730HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000731>xmlChar</A
732>* xmlSaveUri (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000733HREF="libxml-uri.html#XMLURIPTR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000734>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
744CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000745><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000746NAME="AEN10254"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000747></A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000748><P
749></P
750><TABLE
751BORDER="0"
752WIDTH="100%"
753BGCOLOR="#FFD0D0"
754CELLSPACING="0"
755CELLPADDING="4"
756CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000757><TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000758><TR
759><TD
760WIDTH="20%"
761ALIGN="RIGHT"
762VALIGN="TOP"
763><TT
764CLASS="PARAMETER"
765><I
766>uri</I
767></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000768>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000769><TD
770WIDTH="80%"
771ALIGN="LEFT"
772VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000773>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000774></TR
775><TR
776><TD
777WIDTH="20%"
778ALIGN="RIGHT"
779VALIGN="TOP"
780><I
781CLASS="EMPHASIS"
782>Returns</I
783> :</TD
784><TD
785WIDTH="80%"
786ALIGN="LEFT"
787VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000788>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000789></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000790></TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000791></TABLE
792><P
793></P
794></DIV
795></DIV
796><HR><DIV
797CLASS="REFSECT2"
798><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000799NAME="AEN10267"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000800></A
801><H3
802><A
803NAME="XMLPRINTURI"
804></A
805>xmlPrintURI ()</H3
806><TABLE
807BORDER="0"
808BGCOLOR="#D6E8FF"
809WIDTH="100%"
810CELLPADDING="6"
811><TR
812><TD
813><PRE
814CLASS="PROGRAMLISTING"
815>void xmlPrintURI (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000816HREF="FILE-CAPS"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000817>FILE</GTKDOCLINK
818> *stream,
819 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000820HREF="libxml-uri.html#XMLURIPTR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000821>xmlURIPtr</A
822> uri);</PRE
823></TD
824></TR
825></TABLE
826><P
827>Prints the URI in the stream <TT
828CLASS="PARAMETER"
829><I
830>steam</I
831></TT
832>.</P
833><P
834></P
835><DIV
836CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000837><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000838NAME="AEN10276"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000839></A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000840><P
841></P
842><TABLE
843BORDER="0"
844WIDTH="100%"
845BGCOLOR="#FFD0D0"
846CELLSPACING="0"
847CELLPADDING="4"
848CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000849><TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000850><TR
851><TD
852WIDTH="20%"
853ALIGN="RIGHT"
854VALIGN="TOP"
855><TT
856CLASS="PARAMETER"
857><I
858>stream</I
859></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000860>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000861><TD
862WIDTH="80%"
863ALIGN="LEFT"
864VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000865>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000866></TR
867><TR
868><TD
869WIDTH="20%"
870ALIGN="RIGHT"
871VALIGN="TOP"
872><TT
873CLASS="PARAMETER"
874><I
875>uri</I
876></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000877>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000878><TD
879WIDTH="80%"
880ALIGN="LEFT"
881VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000882>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000883></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000884></TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000885></TABLE
886><P
887></P
888></DIV
889></DIV
890><HR><DIV
891CLASS="REFSECT2"
892><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000893NAME="AEN10289"
Daniel Veillard4ec885a2001-06-17 10:31:07 +0000894></A
895><H3
896><A
897NAME="XMLURIESCAPESTR"
898></A
899>xmlURIEscapeStr ()</H3
900><TABLE
901BORDER="0"
902BGCOLOR="#D6E8FF"
903WIDTH="100%"
904CELLPADDING="6"
905><TR
906><TD
907><PRE
908CLASS="PROGRAMLISTING"
909><A
910HREF="libxml-tree.html#XMLCHAR"
911>xmlChar</A
912>* xmlURIEscapeStr (const <A
913HREF="libxml-tree.html#XMLCHAR"
914>xmlChar</A
915> *str,
916 const <A
917HREF="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)
925and the characters in the exception list.</P
926><P
927></P
928><DIV
929CLASS="INFORMALTABLE"
930><A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000931NAME="AEN10298"
Daniel Veillard4ec885a2001-06-17 10:31:07 +0000932></A
933><P
934></P
935><TABLE
936BORDER="0"
937WIDTH="100%"
938BGCOLOR="#FFD0D0"
939CELLSPACING="0"
940CELLPADDING="4"
941CLASS="CALSTABLE"
942><TBODY
943><TR
944><TD
945WIDTH="20%"
946ALIGN="RIGHT"
947VALIGN="TOP"
948><TT
949CLASS="PARAMETER"
950><I
951>str</I
952></TT
953>&nbsp;:</TD
954><TD
955WIDTH="80%"
956ALIGN="LEFT"
957VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000958>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +0000959></TR
960><TR
961><TD
962WIDTH="20%"
963ALIGN="RIGHT"
964VALIGN="TOP"
965><TT
966CLASS="PARAMETER"
967><I
968>list</I
969></TT
970>&nbsp;:</TD
971><TD
972WIDTH="80%"
973ALIGN="LEFT"
974VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000975>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +0000976></TR
977><TR
978><TD
979WIDTH="20%"
980ALIGN="RIGHT"
981VALIGN="TOP"
982><I
983CLASS="EMPHASIS"
984>Returns</I
985> :</TD
986><TD
987WIDTH="80%"
988ALIGN="LEFT"
989VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000990>&nbsp;</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +0000991></TR
992></TBODY
993></TABLE
994><P
995></P
996></DIV
997></DIV
998><HR><DIV
999CLASS="REFSECT2"
1000><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001001NAME="AEN10315"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001002></A
1003><H3
1004><A
1005NAME="XMLURIUNESCAPESTRING"
1006></A
1007>xmlURIUnescapeString ()</H3
1008><TABLE
1009BORDER="0"
1010BGCOLOR="#D6E8FF"
1011WIDTH="100%"
1012CELLPADDING="6"
1013><TR
1014><TD
1015><PRE
1016CLASS="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 !
1025Output is direct unsigned char translation of <TT
1026CLASS="LITERAL"
1027>XX</TT
1028> values (no encoding)</P
1029><P
1030></P
1031><DIV
1032CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001033><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001034NAME="AEN10322"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001035></A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001036><P
1037></P
1038><TABLE
1039BORDER="0"
1040WIDTH="100%"
1041BGCOLOR="#FFD0D0"
1042CELLSPACING="0"
1043CELLPADDING="4"
1044CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001045><TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001046><TR
1047><TD
1048WIDTH="20%"
1049ALIGN="RIGHT"
1050VALIGN="TOP"
1051><TT
1052CLASS="PARAMETER"
1053><I
1054>str</I
1055></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001056>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001057><TD
1058WIDTH="80%"
1059ALIGN="LEFT"
1060VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001061>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001062></TR
1063><TR
1064><TD
1065WIDTH="20%"
1066ALIGN="RIGHT"
1067VALIGN="TOP"
1068><TT
1069CLASS="PARAMETER"
1070><I
1071>len</I
1072></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001073>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001074><TD
1075WIDTH="80%"
1076ALIGN="LEFT"
1077VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001078>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001079></TR
1080><TR
1081><TD
1082WIDTH="20%"
1083ALIGN="RIGHT"
1084VALIGN="TOP"
1085><TT
1086CLASS="PARAMETER"
1087><I
1088>target</I
1089></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001090>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001091><TD
1092WIDTH="80%"
1093ALIGN="LEFT"
1094VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001095>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001096></TR
1097><TR
1098><TD
1099WIDTH="20%"
1100ALIGN="RIGHT"
1101VALIGN="TOP"
1102><I
1103CLASS="EMPHASIS"
1104>Returns</I
1105> :</TD
1106><TD
1107WIDTH="80%"
1108ALIGN="LEFT"
1109VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001110>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001111></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001112></TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001113></TABLE
1114><P
1115></P
1116></DIV
1117></DIV
1118><HR><DIV
1119CLASS="REFSECT2"
1120><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001121NAME="AEN10343"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001122></A
1123><H3
1124><A
1125NAME="XMLNORMALIZEURIPATH"
1126></A
1127>xmlNormalizeURIPath ()</H3
1128><TABLE
1129BORDER="0"
1130BGCOLOR="#D6E8FF"
1131WIDTH="100%"
1132CELLPADDING="6"
1133><TR
1134><TD
1135><PRE
1136CLASS="PROGRAMLISTING"
1137>int xmlNormalizeURIPath (char *path);</PRE
1138></TD
1139></TR
1140></TABLE
1141><P
Daniel Veillardd194dd22001-02-14 10:37:43 +00001142>Applies the 5 normalization steps to a path string--that is, RFC 2396
1143Section 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 Veillardb732a0e2000-10-15 11:27:01 +00001146><P
1147></P
1148><DIV
1149CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001150><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001151NAME="AEN10350"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001152></A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001153><P
1154></P
1155><TABLE
1156BORDER="0"
1157WIDTH="100%"
1158BGCOLOR="#FFD0D0"
1159CELLSPACING="0"
1160CELLPADDING="4"
1161CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001162><TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001163><TR
1164><TD
1165WIDTH="20%"
1166ALIGN="RIGHT"
1167VALIGN="TOP"
1168><TT
1169CLASS="PARAMETER"
1170><I
1171>path</I
1172></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001173>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001174><TD
1175WIDTH="80%"
1176ALIGN="LEFT"
1177VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001178>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001179></TR
1180><TR
1181><TD
1182WIDTH="20%"
1183ALIGN="RIGHT"
1184VALIGN="TOP"
1185><I
1186CLASS="EMPHASIS"
1187>Returns</I
1188> :</TD
1189><TD
1190WIDTH="80%"
1191ALIGN="LEFT"
1192VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001193>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001194></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001195></TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001196></TABLE
1197><P
1198></P
1199></DIV
1200></DIV
1201><HR><DIV
1202CLASS="REFSECT2"
1203><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001204NAME="AEN10363"
Daniel Veillard28929b22000-11-13 18:22:49 +00001205></A
1206><H3
1207><A
1208NAME="XMLURIESCAPE"
1209></A
1210>xmlURIEscape ()</H3
1211><TABLE
1212BORDER="0"
1213BGCOLOR="#D6E8FF"
1214WIDTH="100%"
1215CELLPADDING="6"
1216><TR
1217><TD
1218><PRE
1219CLASS="PROGRAMLISTING"
1220><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001221HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard28929b22000-11-13 18:22:49 +00001222>xmlChar</A
1223>* xmlURIEscape (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001224HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard28929b22000-11-13 18:22:49 +00001225>xmlChar</A
1226> *str);</PRE
1227></TD
1228></TR
1229></TABLE
1230><P
1231>Escaping routine, does not do validity checks !
1232It will try to escape the chars needing this, but this is heuristic
1233based it's impossible to be sure.</P
1234><P
1235></P
1236><DIV
1237CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001238><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001239NAME="AEN10371"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001240></A
Daniel Veillard28929b22000-11-13 18:22:49 +00001241><P
1242></P
1243><TABLE
1244BORDER="0"
1245WIDTH="100%"
1246BGCOLOR="#FFD0D0"
1247CELLSPACING="0"
1248CELLPADDING="4"
1249CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001250><TBODY
Daniel Veillard28929b22000-11-13 18:22:49 +00001251><TR
1252><TD
1253WIDTH="20%"
1254ALIGN="RIGHT"
1255VALIGN="TOP"
1256><TT
1257CLASS="PARAMETER"
1258><I
1259>str</I
1260></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001261>&nbsp;:</TD
Daniel Veillard28929b22000-11-13 18:22:49 +00001262><TD
1263WIDTH="80%"
1264ALIGN="LEFT"
1265VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001266>&nbsp;</TD
Daniel Veillard28929b22000-11-13 18:22:49 +00001267></TR
1268><TR
1269><TD
1270WIDTH="20%"
1271ALIGN="RIGHT"
1272VALIGN="TOP"
1273><I
1274CLASS="EMPHASIS"
1275>Returns</I
1276> :</TD
1277><TD
1278WIDTH="80%"
1279ALIGN="LEFT"
1280VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001281>&nbsp;</TD
Daniel Veillard28929b22000-11-13 18:22:49 +00001282></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001283></TBODY
Daniel Veillard28929b22000-11-13 18:22:49 +00001284></TABLE
1285><P
1286></P
1287></DIV
1288></DIV
1289><HR><DIV
1290CLASS="REFSECT2"
1291><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001292NAME="AEN10384"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001293></A
1294><H3
1295><A
1296NAME="XMLFREEURI"
1297></A
1298>xmlFreeURI ()</H3
1299><TABLE
1300BORDER="0"
1301BGCOLOR="#D6E8FF"
1302WIDTH="100%"
1303CELLPADDING="6"
1304><TR
1305><TD
1306><PRE
1307CLASS="PROGRAMLISTING"
1308>void xmlFreeURI (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001309HREF="libxml-uri.html#XMLURIPTR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001310>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
1320CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001321><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001322NAME="AEN10391"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001323></A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001324><P
1325></P
1326><TABLE
1327BORDER="0"
1328WIDTH="100%"
1329BGCOLOR="#FFD0D0"
1330CELLSPACING="0"
1331CELLPADDING="4"
1332CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001333><TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001334><TR
1335><TD
1336WIDTH="20%"
1337ALIGN="RIGHT"
1338VALIGN="TOP"
1339><TT
1340CLASS="PARAMETER"
1341><I
1342>uri</I
1343></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001344>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001345><TD
1346WIDTH="80%"
1347ALIGN="LEFT"
1348VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001349>&nbsp;</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001350></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001351></TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001352></TABLE
1353><P
1354></P
1355></DIV
1356></DIV
1357></DIV
1358><DIV
1359CLASS="NAVFOOTER"
1360><BR
1361CLEAR="all"><BR><TABLE
1362WIDTH="100%"
1363BORDER="0"
1364BGCOLOR="#000000"
1365CELLPADDING="1"
1366CELLSPACING="0"
1367><TR
1368><TD
1369WIDTH="25%"
1370BGCOLOR="#C00000"
1371ALIGN="left"
1372><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001373HREF="libxml-valid.html"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001374><FONT
1375COLOR="#FFFFFF"
1376SIZE="3"
1377><B
1378>&#60;&#60;&#60; Previous Page</B
1379></FONT
1380></A
1381></TD
1382><TD
1383WIDTH="25%"
1384BGCOLOR="#0000C0"
1385ALIGN="center"
1386><FONT
1387COLOR="#FFFFFF"
1388SIZE="3"
1389><B
1390><A
1391HREF="book1.html"
1392><FONT
1393COLOR="#FFFFFF"
1394SIZE="3"
1395><B
1396>Home</B
1397></FONT
1398></A
1399></B
1400></FONT
1401></TD
1402><TD
1403WIDTH="25%"
1404BGCOLOR="#00C000"
1405ALIGN="center"
1406><FONT
1407COLOR="#FFFFFF"
1408SIZE="3"
1409><B
1410><A
1411HREF="libxml-lib.html"
1412><FONT
1413COLOR="#FFFFFF"
1414SIZE="3"
1415><B
1416>Up</B
1417></FONT
1418></A
1419></B
1420></FONT
1421></TD
1422><TD
1423WIDTH="25%"
1424BGCOLOR="#C00000"
1425ALIGN="right"
1426><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001427HREF="libxml-xmlerror.html"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001428><FONT
1429COLOR="#FFFFFF"
1430SIZE="3"
1431><B
1432>Next Page &#62;&#62;&#62;</B
1433></FONT
1434></A
1435></TD
1436></TR
1437><TR
1438><TD
1439COLSPAN="2"
1440ALIGN="left"
1441><FONT
1442COLOR="#FFFFFF"
1443SIZE="3"
1444><B
1445>valid</B
1446></FONT
1447></TD
1448><TD
1449COLSPAN="2"
1450ALIGN="right"
1451><FONT
1452COLOR="#FFFFFF"
1453SIZE="3"
1454><B
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001455>xmlerror</B
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001456></FONT
1457></TD
1458></TR
1459></TABLE
1460></DIV
1461></BODY
1462></HTML
1463>