std::string localProfile("'");
localProfile += profileName;
localProfile += "'";
Note that there is an overload of setStylesheetParam() that accepts const
char*, so you do not necessarily need to create XalanDOMString instances to
set the params:
std::string keyActive("active");
xalanTransfo
Harry Liljeström wrote:
Hi,
I have following method:
...
The "active" parameter never gets proper value!
Well, I guess that depends on what you want the proper value to be.
I'm wondering how the const XalanDOMString
valActive(profileName.c_str()); should be initialized?
If I change
Hi,
I have following method:
int Transformer::doTransform(const std::string& profileName)
{
XALAN_USING_STD(cerr)
XALAN_USING_STD(endl)
XALAN_USING_XALAN(XalanTransformer)
XALAN_USING_XALAN(XalanDOMString)
int result = -1;
initialize();
// Try to open the output file.