XML to XML transformation with XSLT in Firefox and IE
问题 I did a transformation from few XML formats to one standard. My XSL looks like following one: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:output method="xml" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/> <xsl:template match="list | store"> <list> <xsl:for-each select="item | product | product-store"> <item> <name> <xsl:choose> <xsl:when test="name"><xsl:value-of select="substring-before(name, ' ')" />