Re: Help! Extension functions ...

2002-04-12 Thread Padraig O'hIceadha
ck > > >-Original Message- >From: Corinna Kinchin [mailto:[EMAIL PROTECTED]] >Sent: Thursday, April 11, 2002 1:38 PM >To: [EMAIL PROTECTED] >Subject: Re: Help! Extension functions ... > > >Dave, > >Thanks for your feedback, as always. It's really >

Re: Help! Extension functions ...

2002-04-12 Thread Corinna Kinchin
Dave, Well I've just learned a lot ... thanks! See comments below ... > Hi Corinna, > > This is a case where you might use an extension function, but you might > want to consider other approaches. You say you're going to have to "parse" > this image file. Is it an xml file? If it is, you cou

Re: Help! Extension functions ...

2002-04-11 Thread David N Bertoni/Cambridge/IBM
| |To: [EMAIL PROTECTED] | |cc: (bcc: David N Bertoni/Cambridge/IBM)

RE: Help! Extension functions ...

2002-04-11 Thread Rick Bullotta
: Thursday, April 11, 2002 1:38 PM To: [EMAIL PROTECTED] Subject: Re: Help! Extension functions ... Dave, Thanks for your feedback, as always. It's really appreciated. To give a bit more background on why I believe an extension function is necessary: we have a home grown `C' library of funct

Re: Help! Extension functions ...

2002-04-11 Thread Corinna Kinchin
Dave, Thanks for your feedback, as always. It's really appreciated. To give a bit more background on why I believe an extension function is necessary: we have a home grown `C' library of functions which will pull out image file metadata, such as image width, height, aspect ratio, no of pics an

Re: Help! Extension functions ...

2002-04-11 Thread David N Bertoni/Cambridge/IBM
cc: David N Bertoni/Cambridge/IBM) | | Subject: Help!

Re: Help! Extension functions ...

2002-04-11 Thread Corinna Kinchin
Thanks so much for the prompt response ... ... unfortunately cloth-head here forgot to say I'm using Xalan-C ... but thanks for the pointer, maybe DOM nodes are the way to go? Best, > > > If you're using Xalan-J, the easiest solution is for your extension to just > return the Node. Our extens

Re: Help! Extension functions ...

2002-04-11 Thread Joseph Kesselman/CAM/Lotus
If you're using Xalan-J, the easiest solution is for your extension to just return the Node. Our extension code checks the type of the returned object and does Something Appropriate with it, as described in http://xml.apache.org/xalan-j/extensions.html#ext-functions under "return values". If you

Help! Extension functions ...

2002-04-11 Thread Corinna Kinchin
Hi all, I'm trying to write an extension function which creates a new `Dim' element with `Width' and `Height' attributes set to numeric values, and which returns the `Dim' element as a node-set. More generally, I want to return a set of values from an extension function, rather than just a string

Help, Extension functions that return null ??

2002-01-17 Thread John Gentilin
If an extension function returns null and the style sheet tries to traverse the document, a null pointer exception occurs. That sounds reasonable but the previous behavior would just treat it as an empty sequence and does not throw an error and the select has a null effect. The can be tested with