[xsl] [xslt] using xquey in XSLT transformation

Subject: [xsl] [xslt] using xquey in XSLT transformation
From: Michalmas <michalmas@xxxxxxxxx>
Date: Thu, 19 Mar 2009 00:22:08 +0100
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 ( )B  ,
$ s ear chValue as x s : s t r i n gB B  )
B {
B i f ( empty ($ searchValue ) ) then
B B B  $node/ picbvalue

B e l s e
B B B B B  l o c a l : r e f ($ node // de s c endant : :da tabd e c l a r a
t i o n
B B B B B  [ name=$s earchValue [ 1 ] ] [ 1 ] ,
B B B B B  $ searchValue [B  p o s i t i o n ( )B  !=B  1 ] )
B };

Current Thread