Thanks Wolfgang, it worked like a charm. Cheers Dvir Ofek Software Engineer Screenpeaks Ltd.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 13, 2002 2:45 PM To: [email protected] Subject: Re: Parameter isn't being resolved correctly > 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!
