Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 22nd, 2007, 04:45 PM
Registered User
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default XSLT variable help needed

it's solved
 
Old February 22nd, 2007, 07:36 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default


In XSLT 2.0, define a key to give direct access to schedule entries, where the key value is the computed timeslot for each event.

If you're stuck with 1.0 it's not so easy to define a key on a computed value. Try a two-pass solution: in the first pass, attach an attribute to each entry indicating the timeslot of each item in the schedule; in the second pass, define a key on this attribute.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
 
Old February 23rd, 2007, 10:15 AM
Registered User
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sadly I'm stuck with 1.0. Can you give me an example of two-step process?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed on XSLT baruprasad XSLT 8 October 21st, 2008 09:03 AM
help needed in XSLT ddeokarb XSLT 1 November 22nd, 2007 10:41 AM
assign XSLT variable to a wml variable arunagottimukkala XSLT 2 October 19th, 2007 05:15 AM
XSLT Help Needed JZen XSLT 9 February 22nd, 2007 04:27 AM
help needed for xslt rameshnarayan XSLT 2 September 19th, 2005 03:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.