Hi there,

I have a question concerning the usage of Xalan under C. The Problem is, that I am not 
really familiar with
C but with Java. Currently I am trying to use Xalan in an objectiveC environment, 
which means, that I
should try to avoid C++ constructs. Since it's stated, that the Xalan C API provides 
basically the same
functionality as the C++ one, I would like to get along with it. So the main question 
is related to the
example given:

const char * xmlfilename = "foo.xml";
             const char* xslfilename = "foo.xsl";
             const char* outfilename = "foo.out";
             int theResult = 0;
             theResult = XalanTransformToFile(xmlfilename,
                                              xslfilename,
                                              outfilename,
                                              xalan);

This one works, but I was wondering, how I could use the whole thing without using 
FILES, but rather the
kind of InputSources and Streams I am used to from my Java-Environment. Are those 
things covered by
XalanCAPI.h or do I need anything else for it?

*********  Are there any good examples ? ********

I would appreciate any help on that subject. As mentioned above, I am not at all 
familiar with language
issues, so it's all up to you -  any way to make it work would be a help.

Thanks.
Hinrich


Reply via email to