I am trying to apply a really trivial XSL template to this XML, which is basically an official list of Trusted Service Providers from the Italian government.
I expect this XML has nothing wrong with it.
I would like to extract from this XML, a sub-list of TrustServiceProvider, from the following element
/TrustServiceStatusList/TrustServiceProviderList/
so I tried to apply something like this
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:for-each select="TrustServiceStatusList/TrustServiceProviderList/TrustServiceProvider">
<xsl:if test="true">
<xsl:value-of select="TSPInformation/TSPName/Name"></xsl:value-of>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
and expected this to output all names of the TrustServiceProvider elements, except that it doesn't. The only output is the first line of the XSL template.
Does anyone have a clue about what is going on here??