Blog Archives

for-each of XSLT


There is a request that show some information on the page if the special products included in an xml file, and this need to be done by xslt.
Usually, we use for-each to look through all nodes and detect by if test=”condition” to check the result, but there is a problem that how to exit loop when we get correct result, so that don’t display multiple times?

Posted in Uncategorized Tagged with: