With XSLT, how can I use this if-test with an array, when search element is returned by a template call inside the for loop?
- by codesforcoffee
I think this simple example might ask the question a lot more clearly.
I have an input file with multiple products. There are 10 types of product (2 product IDs is fine enough for this example), but the input will have 200 products, and I only want to output the info for the first product of each type. (Output info for the lowest priced one, so…