Re: [xml] XML and HTTP
- From: Daniel Veillard <veillard redhat com>
- To: Kenneth Østby <kenneth ostby gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] XML and HTTP
- Date: Wed, 22 Mar 2006 11:45:28 -0500
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
*/
xmlDocPtr
xmlReadFile(const char *filename, const char *encoding, int options)
Daniel
--
Daniel Veillard | Red Hat http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]