Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
XML
xalan extension functions
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Blue Doze, post: 2994233"] Hello, I'm trying to add XPATH extension function to xalan-j with namespace, I'm doing that using the following code: Function func = (Function) class.newInstance(); int findex = FunctionTable.installFunction(name, func); FuncLoader[] m_functions = FunctionTable.m_functions; m_functions[findex] = new FuncEntry(class.getName(), findex); I can define and use extension functions that doesn't have namespace, but when I add the namespace in the XPATH expression, it doesn't work. I tried to extend both Function2Args, and FuncExtFunction, and I had no luck in both. when I extended FuncExtFunction I called the super constructor with the namespace i want. Any hints? BlueDoze [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
XML
xalan extension functions
Top