Hello guys,
I have XQuery function. I need to use it in XSLT transformation. Is it possible?
d e c l a r e func t i on l o c a l : g e tPic ( $node as node ( ) ,
$ s ear chValue as x s : s t r i n g )
{
i f ( empty ($ searchValue ) ) then
$node/ pic-value
e l s e
l o c a l : r e f ($ node // de s c endant : :da ta-d e c l a r a t i o n
[ name=$s earchValue [ 1 ] ] [ 1 ] ,
$ searchValue [ p o s i t i o n ( ) != 1 ] )
};
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--