Dear c++ experts:
I am trying to test a piece of simple c++ code
from book(c++ cookbook) Example14-22 (Performing an XSLT transformation
with a precompiled stylesheet)
in that example program, there are 2 lines
------------------on line 45------------------
|
if (xslt.parseSource(xml, parsedXml) != 0) {
|
------------------
but my compiler reponse me error
------------
Example14-22.cpp: In function ‘int main()’:
Example14-22.cpp:45:44: error: no matching function for call to
‘xalanc_1_10::XalanTransformer::parseSource(xalanc_1_10::XSLTInputSource&, xalanc_1_10::XalanParsedSource*&)’
/usr/include/xalanc/XalanTransformer/XalanTransformer.hpp:391:5: note:
candidate is: int xalanc_1_10::XalanTransformer::parseSource(const
xalanc_1_10::XSLTInputSource&, const xalanc_1_10::XalanParsedSource*&,
bool)
-------------------------------
you can download that book's example source code from
http://examples.oreilly.com/9780596007614/
14-1
14-19
14-22
and I am using g++4.5.2 on linux2.6.38-10 unbuntu
looking to see your help and thanks a lot in advance, Eric