XalanTransformer::parseSource

Asked by Edward Benson

 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) {
/* someone suggest me to put an & before parsedXml, it is not work */
------------------
but my compiler response 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 ubuntu
looking to see your help and thanks a lot in advance, Eric

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gcc-defaults Edit question
Assignee:
No assignee Edit question
Solved by:
Edward Benson
Solved:
Last query:
Last reply:
Revision history for this message
Edward Benson (edward8) said :
#1

problem solved

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#2

What was the solution?