Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Include stylesheet in xml form data submission.

Avatar

Avatar
Level 1
Benjamin_Houge
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Benjamin_Houge
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
Benjamin_Houge
Level 1

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

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

395 likes

Total Posts

2,686 posts

Correct Reply

491 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

395 likes

Total Posts

2,686 posts

Correct Reply

491 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
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