Include stylesheet in xml form data submission.

Benjamin_Houge 09-08-2015

 

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:

 

http://benjaminhouge.com/assets/a-test-01.pdf

 

http://benjaminhouge.com/assets/a-test-01.xml

 

http://benjaminhouge.com/assets/a-test-01.xslt

 

Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (1)

Answers (1)

radzmar
MVP
10-08-2015

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