Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Is there a way to add two decimal merge fields from an XML schema to create one visible field with the total on my form?


Level 1

I am using LiveCycle to create a form using merge fields from an XML schema that is from our primary operating system and I need to find a way to add two separate number fields together from the XML schema to get a total of the two to show on my form. Is this even possible?

1 Reply


Level 10

You can use a XSLT stylesheet within you data connection setting to modify you imported XML data in the way you need.

Here's a sample to demonstrate the sum() method in XSLT 1.0.