(no title)
reacweb | 6 months ago
My previous change in this file was in 2017 when I replaced xalan by the xslt processor built in java. I was very surprised I had to make the following changes:
-<xsl:if test="string(serverName)=$sName">
+<xsl:if test="string(serverName)=string($sName)">
-<xsl:for-each select="attributeList/attribute[self::attribute!='']">
+<xsl:for-each select="attributeList/attribute[text()!='']">
-<xsl:if test="preceding-sibling::Connection[featureType='Receptacle'][position() = 1]/@Name!=@Name or not(preceding-sibling::Connection[featureType='Receptacle'][position() = 1]/node()) ">
+<xsl:if test="preceding-sibling::Connection[position() = 1]/@Name!=@Name or position()=1">
These incompatibility issues with something I considered to be standard greatly damaged my opinion on xslt.
No comments yet.