RE: [xml] Problems again, functions that don't existe in HP-UX, u rgent (I k now that all say this)

Hi Daniel,

 First of all, thank you for all the support, I know I've been quite a drag.

 I already tried before to use xmlKeepBlanksDefault(0) but with no efective
results but I don't use xmlParseMemory, I use xmlParseFile and xmlParseDoc,
is the effect any diferent, I though that they all would have the same


        xmlDocPtr doc;
        doc = xmlParseFile(xmlFileName);


Thanks again for the support,

Luís Pinho
-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com] 
Sent: quarta-feira, 28 de Janeiro de 2004 18:16
To: Pinho Luis (IFPT IT External)
Cc: steve rinax com; xml gnome org
Subject: Re: [xml] Problems again, functions that don't existe in HP-UX, u
rgent (I k now that all say this)

On Wed, Jan 28, 2004 at 05:54:02PM +0100, Pinho external infineon com wrote:
Sorry, I've never worked with HP-UX before, so any major compilation 
is kind of a mistery to me.

  ./configure ; make ; make install 

I made the code based on the API posted on your libxml2 site, to 
create a xmlDocPtr I used xmlReadDoc and xmlReadFile to create the 
pointer from a file or from a char* (Because this functions allowed me 
to set na option to ignore whitespaces). As this functions don't exist 
in HP-UX and I've never worked with HP-UX (a collegue of mine does the 
instalation) I was hopping that you or someone with more know how that 
me of the libxml2 could get me some way to create a xmlDocPtr without 
any ignorable whitespaces with the functions that are implemented in 

Sorry about my lack of experience in libxml2 and if you could get me 
na alternative to the function I would be very thankful

  use xmlDocPtr xmlParseMemory(const char *buffer, int size);

and to change the parser behaviour to not build blanks nodes, see the FAQ
 item #2


Daniel Veillard      | Red Hat Network
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]