> Hi
>
> I wanted to pass a namespace to the xslt through a parameter and got this
weird behavior.
I stumbled across this behavior myself and it seems quite confusing, but
when you now the reason it's clear why it doesn't work...
> Everything's ok until I try to assign the parameter value through:
> theXalanTransformer->setStylesheetParam("param-namespace",
> "http://www.blahblah.com/schema/t1/0");
You probably want to use the parameter as string, so it has to be wrapped in
quotes as the parameter is interpreted as a XPath expression:
theXalanTransformer->setStylesheetParam("param-namespace",
"'http://www.blahblah.com/schema/t1/0'");
would be ok (note the quotes! just to make it clear: the second parameter is
" '<your string parameter value>' ")
Hope that helps.
Wolfgang
--
Wolfgang Schell
[EMAIL PROTECTED]
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr f�r 1 ct/ Min. surfen!