logancillo wrote:
hi people, i need some help! i m trying to build in c++ a litle project with
xalan-c.
The idea is to include the functionality of xalanC in my project java, for
it, i download the last sources of xalan and xerces and form a project in
netbeans 6.0.
Why don't you just use Xalan-J?
main.c
#include <stdio.h>
#include <stdlib.h>
#include "WraperXalanC.h"
/*
*
*/
int main(int argc, char** argv)
{
WraperXalanC a;
return (EXIT_SUCCESS);
}
...
the errors are:
WraperXalanC.h:32: error: ‘XalanCompiledStylesheet’ does not name a type
WraperXalanC.h:34: error: ‘XalanCompiledStylesheet’ no se puede declarar
Since all of Xalan-C's symbols are in a namespace, you need a using
declaration. You can use this handy macro that's already been defined by
Xalan-C:
XALAN_USING_XALAN(XalanCompiledStylesheet)
Dave