Subject:XSLT question... Author:Jerry Janofsky Date:11 Apr 2011 11:32 AM
I have an existing XSL template that operates on a large amount of data. I have XML data that I want to apply against it, however, my XML data is not quite in the correct format to use with my template. Assume I can't rearrange the XML data. Below I have an example to illustrate my problem.
When I call <xsl:apply-templates select="StateProvince"> my template would do the correct thing if all the cities were grouped under a single state like this: