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
>
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
|
|To: [EMAIL PROTECTED]
|
|cc: (bcc: David N Bertoni/Cambridge/IBM)
: 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
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
cc: David N Bertoni/Cambridge/IBM)
|
| Subject: Help!
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
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
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
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
10 matches
Mail list logo