...
Using this technique will allow you to compare content of <FieldWithData> as XML not as a one long value of a single field.
In case this XML is in addition stored in the CDATA, you can try to reuse the following XSLT mapping:
Code Block | ||
---|---|---|
| ||
<?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:element name="FieldWithData">
<xsl:value-of select="//FieldWithData" disable-output-escaping="yes"/>
</xsl:element>
</xsl:template>
</xsl:stylesheet> |
XSLT for other encodings than UTF-8
...