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

RE: Count a substring of an attribute in childnodes

Subject: RE: Count a substring of an attribute in childnodes
From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx>
Date: Wed, 09 Mar 2005 14:35:44 +0000
RE:  Count a substring of an attribute in childnodes
Michael Kay:
The second solution is Dimitre's functional programming approach. This is
the one that's closest to the way I expressed the problem above. Note that I
described a three-stage approach in which stage 2 involves computing some
function. This is a classic higher-order function. The three-step algorithm
is a function that takes two arguments: the sequence of nodes, and the
function to be computed in step 2. Dimitre's FXSL library allows you to
write the solution in this form. It takes some getting used to, but it's the
most economical way of solving the problem; and although it involves calling
the FXSL library, that's written in pure XSLT 1.0 so it should be completely
portable.
---

Thank you.
I had gotten the notion that FXSL required EXSLT to work.

My recursive solution works, so this is good enough for now, and I have learned something as well.

Thanks to all who took the time to help me.
Ragulf Pickaxe :-)

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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.