[xml] XSLT Example

Okay, okay ....

I have rid myself of a few errors.
Most of the errors were due to my environment.

I have the latest code from Zlatkovic on my machine.
Everything is building and running fine for me.

Yet I am still having trouble with the xslt example from your tutorial.
I am running on 
        Windows 2000 SP3
        C compiler is part of Visual Studio 6.0
I am not sure what else you would like to know.

The code seems to crash at the line
        xsltSaveResultToFile(stdout, res, cur);

if I comment out the line 
        params[nbparams] = NULL;
it does not crash, but the program does not work correctly.

I am not sure what is happening.
When the programs crashes, I can bring up Visual Studio, and this gives a stack of DLLs

I am able to run xsltproc.exe with no problems.

Does the example program need some options or parameters set ?
Am I not building the example correctly ?

Any help would be grateful.
Thank you,

On Wed, 2004-04-21 at 13:45, Leet, Ethan C wrote:
      I have tried to build John Fleck's xslt example.
      It builds, yet it does not run.
      I get access violation errors.
      I copied straight form the web to start my self running, yet it does not work.
      Are there any xslt examples that work ?
      I am using
      libxml 2.5.10
      iconv 1.8
      libxslt 1.0.32
      I tried to update to new code, yet I get ordinal errors when running.
      I have also tried to contact Igor Zlatkovic to ask about the zlib library.
      Everything builds fine for me, yet I get ordinal errors when I run.
      I don't understand the old versions of libxml work fine.

      I can't get xslt to work :-(
      The mailing list is of now help as well as the bug list.

Sorry it's not working for you. The only thing I can think of is that
there's something wrong with your installation, since a fresh build of
it, cut and pasted as you did straight off of the web, works fine for

Can you provide more information about your build and the platform
you're using it on? Does the xsltproc command line utility work (the
tutorial example is based on xsltproc - the code is essentially


Ethan Leet
Software Engineer
Lockheed Martin Systems Integration - Owego
     1801 State Route 17C MD 0315
     Owego, NY 13827-3998
Department:  L91
Location:      104B Col. C1
Phone:         (607) 751-4220
Email:           ethan c leet lmco com

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