Re: [xslt] problems with libxslt...



On Tue, Jun 03, 2003 at 05:45:40PM +0200, Alessandro Terenzi wrote:
> Hi,
> I'm trying your library libxslt and libxml, but I have problems under 
> Windows (both 2000 and XP) even with the standard tutorial by John Fleck. 
> (under Linux it works!)
>
> [...]
> error LNK2001: unresolved external symbol ___xmlLoadExtDtdDefaultValue
> fatal error LNK1120: 1 unresolved externals
> 
> so in the tutorial I have to comment the line that uses that variable.

Fortunately, i never had to fiddle with Windows, so someone else
needs to answer these linking problems ...

> Moreover, my real problem is that I can't save the result of the 
> transformation of a file. 
> Infact, using the function:
> 
> xsltSaveResultToFile(stdout, res, cur);

... hmm, you didn't tell us in what environment you try to compile/run
your code (MS/Visual whatever, Cygwin etc.). Did you set 'stdout' yourself
to a valid file handle or do you rely on your C library to provide one.

Run your code under a debugger and trace down the spot where the runtime
error shows up.
 
> 
> results in a runtime error. Actually It seems that the problem comes from 
> libxml when it flushes the buffer...
> Can you help me?
>

 hth Ralf Mattes



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