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

Re: expand conditional variable in xsl:key match

Subject: Re: expand conditional variable in xsl:key match
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 18 Jun 2003 12:34:35 -0400
xsl key match node set
Xiaocun,

At 09:53 AM 6/18/2003, you wrote:
I see.  Looks like my options are:
1. investigate forward-walk
2. enhance incoming data (the current design is to
keep process prior to XSLT generic with no business
logic, this will have to break that)

Splitting the process in two could achieve this goal without having to break your design principle all the way back. It should be able to pipeline your transforms through Saxon using your copy of WebLogic, or even batch process them. (Are there performance constraints?)


In fact, I'd propose that if you're trying to encapsulate your "business logic" in XSLT, that eventually you'll be wanting to pipeline in any case. (Although I should add that a nodeset() function or its equivalent -- the application of processing result node sets that we'll be getting in XSLT 2 -- can be used to emulate a pipeline.)

3. go back to Saxon6.0.2.  Somehow variable was
allowed in xsl:key match/use in that version, I had to
expand the variable out when I upgraded to Saxon6.5.2,
which is the cause of this problem I am having now.
When the variables are expanded out, the performance
went down drastically concurrently, which is another
reason I might decide to go back.
4. wait until WebLogic6.1 supports JDK1.4 and move up
to Saxon7.5.1 (this probably will never happen)

Since we might want to skip WebLogic7.1, we seems
committed to WebLogic6.1 for an extended period,
therefore option #3 might be the most viable at this
time for me.

I wouldn't give up on the others. It's a pity to lock yourself into a non-conformant version of a tool just for one "feature". :->


Could we please see your data again, with a concise restatement of the problem and perhaps desired output? (Sorry.)

Cheers,
Wendell


___&&__&_&___&_&__&&&__&_&__&__&&____&&_&___&__&_&&_____&__&__&&_____&_&&_ "Thus I make my own use of the telegraph, without consulting the directors, like the sparrows, which I perceive use it extensively for a perch." -- Thoreau


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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.