Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IXSLT::setExternalFunctions ( p6IXpathVariables pConnector)
pure virtual

XPath 2.0 is used in XSLT expressions.

XPath supports the definition of external (i.e., user defined) functions and variables. These external functions are invoked via the p6IXpathVariables connector object. An application using this XSLT component can define their own p6IXpathVariables object, thus allowing it to create new XPath functions and variables. Care must be talken not to define names of functions or variables that already exist in XPath, XSLT or in the stylesheet being used. If a name collision occurs the built-in function is always used.

This method can be called multiple times before each call to startTransform().

This feature is optional, but is an excellent way for the calling application to extend what the XSLT processpr can do and the data it can read and write.

Parameters
pConnector[ in ] This interface is defined in P6R's XML component. Can be set to NULL to remove a defined connector.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.