[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Comparing node-sets or groups. Deep-equal with an
Am 06.11.2019 um 15:50 schrieb Flanders, Charles E (US) charles.flanders@xxxxxxxxxxxxxx: I need help with an issue that I haven't come across before and I'm not even sure that I have the subject correct. I am working with XSLT 2.0. Please no 3.0 solutions.
unique. However in some cases, they are identical except for the "ref" attribute value on the <teref> element. Write a function that pushes each element through a mode that strips that attribute, then let it serialize the result or compute a fingerprint, then use that fingerprint or serialization in group-adjacent or group-by of for-each-group, pushing the context node (i.e. first item in a group) through the identity transformation with the collected B B B B B B B B B B B B B B B B B B B B B <xsl:with-param name="refs" tunnel="yes" select="current-group()//terefs/teref"/> as a tunnel parameter:
and insert it in B <xsl:template match="teref"> B B B B B <xsl:param name="refs" tunnel="yes"/> B B B B B <xsl:sequence select="$refs"/> B </xsl:template>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|