Re: [xml] XML and HTTP

On Wed, Mar 22, 2006 at 05:34:54PM +0100, Kenneth Østby wrote:
Hi there.

Is there a simple way for me to use libXML to connect to a webserver and
generate a xmlDocumentPointer?

  pass an HTTP URL to xmlReadFile

 * xmlReadFile:
 * @filename:  a file or URL
 * @encoding:  the document encoding, or NULL
 * @options:  a combination of xmlParserOption
 * parse an XML file from the filesystem or the network.
 * Returns the resulting document tree
xmlReadFile(const char *filename, const char *encoding, int options)


Daniel Veillard      | Red Hat
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]