🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #10656

Re: libxml y doc->children

#10656
From: dcm
Date: Wed, 20 Feb 2002 12:13
29 lines
1823 bytes
Ya he encontrado el error.

Pues resulta que utilizaba como opci�n de linkaje

-lxml

y tenia que utilizar -lxml2


On Tue, 19 Feb 2002 17:10:05 +0100, dcm wrote:

> Hola a todos...
> 
> Intento utilizar la libxml para crear y leer ficheros en formato xml. Y
> me surge el siguiente problema al leerlos. Como lenguaje utilizo C.
> 
> 	#include <libxml/tree.h>
> 	#include <libxml/parser.h>
> 
> 	xmlDocPtr doc;
> 	xmlNodePtr node;
> 
> 	doc = xmlParseFile("/home/dcm/xml.xml"); node = doc->children;
> 
> pues resulta que doc->children es NULL, que no tiene ninguna informaci�n
> y esto no es normal ya que el fichero que cargo esta bien construido y
> doc != NULL
> 
> Ha alguien le ha ocurrido lo mismo? o sabe como solucionarlo?
Technical Details
Message-ID: <pan.2002.02.20.13.13.21.304065.6338@dedonde.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!isdnet!news.rediris.es!news.cesca.es!not-for-mail
References: <pan.2002.02.19.17.10.04.687153.10261@dedonde.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,3ae2d76a32ebb694
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-02-20 04:13:09 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!isdnet!news.rediris.es!news.cesca.es!not-for-mail
From: dcm <dd@dedonde.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: libxml y doc->children
Date: Wed, 20 Feb 2002 13:13:23 +0100
Organization: CESCA - Servidor de news de l'Anella Cientifica
Lines: 29
Message-ID: <pan.2002.02.20.13.13.21.304065.6338@dedonde.es>
References: <pan.2002.02.19.17.10.04.687153.10261@dedonde.es>
NNTP-Posting-Host: mart.xtec.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: noucreus-atm.cesca.es 1014207173 22384 193.145.88.48 (20 Feb 2002 12:12:53 GMT)
X-Complaints-To: newsmanager@cesca.es
NNTP-Posting-Date: Wed, 20 Feb 2002 12:12:53 +0000 (UTC)
User-Agent: Pan/0.11.1 (Unix)
X-Comment-To: "dcm" <dd@dedonde.es>