>
> XalanNamespacesStack theStack;
>
> theStack.addDeclaration (XalanDOMString ("FpML"), XalanDOMString
> ("http://www.fpml.org/2003/FpML-4-0"));
> theStack.addDeclaration (XalanDOMString ("xsi"), XalanDOMString
> ("http://www.w3.org/2001/XMLSchema-instance"));
>
> XalanNamespacesStack::PrefixResolverProxy theProxy (&theStack);
Well, the constructor signature for
XalanNamespacesStack::PrefixResolverProxy is:
PrefixResolverProxy(
const XalanNamespacesStack& theStack,
const XalanDOMString& theURI);
so you cannot just supply a pointer to a XalanNamespacesStack instance.
> The errors I am getting are of a parameter mismatch nature (similar to
that below),
> although I am making the calls according to the prototypes in the header
files.
>
> "RouterTable.cpp", line 33: Error: Cannot use
xalanc_1_9::XalanNamespacesStack*
> to initialize xalanc_1_9::XalanNamespacesStack::PrefixResolverProxy*.
I think you've misread the header file(s).
> I also wonder if there is a fundamental programming guide available for
Xalan (that
> would explain, for instance, the use of the XALAN_USING_XALAN and other
directives).
> Although the samples are illustrative, they are not comprehensive.
Unfortunately, all we have are the samples as the documentation on the web
site. Have you read through that?
http://xml.apache.org/xalan-c/
You might also look at the Xerces-C documentation as well, since much of
what we do mirrors what they do.
Dave