You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Wolfgang Schell <wo...@gmx.de> on 2002/03/14 11:55:55 UTC
How about making the private members of XalanTransformer protected?
Hi!
I'm using Xalan in a project, where I need to set a stylesheet parameter as
nodeset but XalanTransformer allows only string parameters. At first, I
wanted to send a mail to this list to ask for this function to be included in the
next release but that would probably take some time. So I decided to write a
derived class with a new function, which allows access to the
XSLTEngineImpl::setStylesheetParam(XalanDOMString, XObjectPtr).
Unfortunately all member variables of XalanTransformer are private. Of
course I could just change the include file to suit my needs, but how about making
the private members of XalanTransformer protected in the distribution as
well? So everybody who needs a function not supplied by XalanTransformer can
write a dervied class and implement the wanted functionality without having to
rebuild the whole Xalan library.
Cheers
Wolfgang
--
Wolfgang Schell
wolfgang.schell@gmx.net
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net