comparing xml nodes How to?
750119Jan 29 2010 — edited Feb 2 2010Hi,
In my Bpel process i have to compare two xml outcomes from webservices which have many nodes/values.
In my testing using a transform and xsl, I can only seem to do this nod by node (without childs).
Example:
<xsl:param name="vergelijk"/>
<xsl:template match="/">
<xsl:choose>
<xsl:when test="$vergelijk/client:vergelijk/client:input = /client:process/client:input">
<client:resultaat>
<xsl:text disable-output-escaping="no">ok</xsl:text>
</client:resultaat>
</xsl:when>
<xsl:otherwise>
<client:resultaat>
<xsl:text disable-output-escaping="no">niet ok</xsl:text>
</client:resultaat>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
What I would like to do is to compare nodes with childs on a higher level.
Is this possible? and how?
Roelof