Hi, Maybe try sending a simple example of what query you're trying to (i.e. a dumbed down version of your custom function) and we'll try to figure out what to do -- conversion is pretty tricky sometimes, but it does sound like you either need to hack XmlBeans code (and discuss this on the dev list) or request additional hooks in the API. I can't tell which, maybe an example will help
--Yana -----Original Message----- From: gdub [mailto:[EMAIL PROTECTED] Sent: Saturday, October 29, 2005 6:21 PM To: [email protected] Subject: can't get a break ( was: from XmlObj$* to XmlObject) I started working on a fallback approach but I seem to be blocked at every turn. I declare my custom XPath function to accept a Saxon NodeInfo as a parameter. The NodeInfo implemention I get is a NodeWrapper containing an XObj$ElementXobj instance. NodeWrapper can be cast to javax.xml.Source so I use it to create a Saxon expression evaluator. I then run an XPath expression through the evaluator. The result of the evaultaion is an Xobj$ElementXobj instance. But the Saxon docs say I should get a NodeInfo here! I can't return an XmlBeans store back to Saxon without throwing an exception. So, I try to create a new NodeWrapper based on the returned store. The constructor is protected but the Saxon docs suggest using the static MakeWrapper method. But it's proctected too!! At wit's end, -dub --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

