Re: [xml] xmlParseFile and stdin



On Wed, Dec 07, 2005 at 01:31:45PM +0000, Johfra Kamphuis wrote:
stdin! Since xmlParseFile needs a char *, can it be used to read from 
stdin? If so, how? If not, what funtion should I use?

 use  "-" , or even better xmlReadFd using 0 as the file descriptor

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]