Subject: Re: [xsl] Imagine that the semantics of comparison operations was this From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sun, 2 Mar 2025 15:30:54 -0000 |
To achieve the same functionality with XSLT and XPath, we would do this:as="xs:boolean"/>
<xsl:variable name="isDifferent" select="$FIRST ne $SECOND"
<xsl:variable name="APPEND" as="xs:string?"> <xsl:if test="$isDifferent eq true()"> <xsl:sequence select="concat($FIRST, $SECOND)"/> </xsl:if> </xsl:variable>
B <xsl:variable name="APPEND" as="xs:string?" select="($FIRST || $SECOND)[$isDifferent]"/>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Imagine that the semantics of, Roger L Costello cos | Thread | Re: [xsl] Imagine that the semantic, Michael Kay michaelk |
[xsl] Imagine that the semantics of, Roger L Costello cos | Date | Re: [xsl] Imagine that the semantic, Michael Kay michaelk |
Month |