Using two datasources
This is an open discussion with 2 replies, filed under XSLT.
Search
Sounds like Data Source Chaining is what you want to check out. Set a parameter output in the feature data source and filter the other by it.
Cheers Lewis, exactly what I needed.
Create an account or sign in to comment.
I've been having a small headache within XSLT - although I have found the language intuitive.
** XML **
** XSLT **
** The Issue **
For now, please ignore 'class-id' variable as it was from a previous attempt, it isn't right.
I'm looking into how XSLT can take a value, in this instance 'featured-hotels/resort-id', then find the corresponding 'resorts/entry/name', which is equal to the resort-id (or resorts/entry/id).
It seems a bit overkill to-do a for-each through all resorts - returning the correct resort once found with an if statement. Am I right to believe XSLT has a better way to select the right resort?
Thanks for any suggestions.