[Expat-discuss] Result of outline.c from the win32 expat binary

Ryan Luyao rluyao at info.com.ph
Tue Nov 18 18:14:57 EST 2003


I was using the libexpatw.dll

Karl Waclawek wrote:

>>This is my first time to develop applications using expat.
>>I have successfully build the win32 expat binary with Visual
>>Studio and of course compile and run my expat applications.
>>As a first timer i have successfully compile elements.c and
>>outline.c in the examples directory. I just want to confirm if
>>this is the correct output that i am getting out from outline.c
>>
>>My sample.xml file looks like this:
> 
> 
> <snip/>
> 
> The output is wrong.
> 
> 
>>I was expecting the complete tag label instead of just the first letter.
>>Is there any way to print the whole tag label?
> 
> 
> What Dll are you using? libexpat.dll or libexpatw.dll?
> As far as I can tell, outline.c only works with the UTF-8 version of Expat.
>  
> 
>>By the way, any suggestions and some sample code that you can provide on
>>how to get the data between the tags; <item> justanitem </item>, storing
>>justanitem to a variable.
> 
> 
> Accumulate data from character handler call-backs in a buffer and
> store the buffer contents in a variable when another call-back (other
> than to a character data handler) occurs. Then clear the buffer and repeat.
> 
> Karl
> 
> 




More information about the Expat-discuss mailing list