Hi,
I am using Vadim's "Get Forms Repeating Section UDA" which works well in most cases. I am having trouble parsing a repeating section which contains a rich text field with "," characters in the text it throws the below error, it would be great if someone can assist with this?
22/07/2013 11:58 AM | Workflow Comment | Error parsing value. Value '<?xml version="1.0" encoding="utf-8"?><RepeaterData><Version /><Items><Item><NOEDescriptionOfEvent type="System.String">Team Meeting' is not compatible with the selected output variable type Number (double). | Error |
22/07/2013 11:58 AM | Workflow Comment | Failed to run User Defined Action. Value '<?xml version="1.0" encoding="utf-8"?><RepeaterData><Version /><Items><Item><NOEDescriptionOfEvent type="System.String">Team Meeting' is not compatible with the selected output variable type Number (double). | Error |
The problem is being caused by the below xslt
<?xml version='1.0'?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" />
<xsl:template match="/">
<xsl:value-of select="count(//RepeaterData/Items/Item)"/>
</xsl:template>
</xsl:stylesheet>
Thanks,
Luke