Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Include stylesheet in xml form data submission.


Level 1


Include stylesheet in xml form data submission.

I am generating a PDF form which submits form data via email in xml. I have also generated a style sheet in xsl format. So I can now open the submitted xml data in Microsoft Word and apply the xsl stylesheet so that my data is displayed in a manageable manner. I want to include the xsl style sheet in the submitted xml data so that when it is opened in word it will automatically be displayed properly. Essentially I need the submitted data to be viewable and editable in a text form, even if the workstation does not have Acrobat. As it is now the user would need to open the xml data file and then open the xls style sheet. I’d like to remove the extra step. Can I somehow get the xml data to display properly if opened in  Word? Or is there a way that I could have the xml file access the xls stylesheet at a server location automatically when opened in word?


Thanks! I am very new to xml and LiveCycle Designer.


Attached files:








1 Reply


Level 10

You can use a data connection in your form to transform the data with your stylesheet before it will be submitted.

Here's a article to demonstrate this method.

LiveCycle Blog: XSLT