XSLT Grouping & Subgrouping
This is an open discussion with 5 replies, filed under XSLT.
Search
Take a look at this: http://xpathr.com/view/3121455
Hey alpacaaa, thanks a lot for taking the time to write that! Would it be possible to have a slide contain ten products, so I can plug in as many products as I have and it will spit out the correct markup?
Ok, this is getting complicated :)
http://xpathr.com/view/3130526/
This template is the most flexible I can think of, but might be a bit hard to understand. Basically, you need to change the value of the parameters on lines 8-9
to make the template behave as you prefer, so that the markup would update accordingly.
I haven't tested it deeply, but it should work.
alpacaaa: Thanks a ton! Works like a charm :)
Awesome!
Create an account or sign in to comment.
Hey guys, another quick question. I'm trying to group product entries into slides, which themselves contain groups of rows of products. Here's some the data:
And I'd like to output this:
I've searched for quite a few hours and just haven't been able to find a solution. I came up with some code to group them fine, by couldn't figure out how to get them to group into slides. Any help would be greatly appreciated :)
Max