[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[xslt] using xquey in XSLT transformation

Subject: [xslt] using xquey in XSLT transformation
From: Michalmas <michalmas@xxxxxxxxx>
Date: Thu, 19 Mar 2009 00:22:08 +0100
 [xslt] using xquey in XSLT transformation
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.