Subject:Preview and backmapping for word documents Author:Karthik S Date:26 May 2008 07:37 AM
I have created a xslt file with wordml tags for generating word document as an output on transformation with source xml file.
I am not getting the preview correctly when I run this xslt. It shows the wordml tags instead of showing the actual output which will be displyed in the word document. Because of this I am not able to use the backmapping fuctionality.
Please provide me a solution for word document preview with backmapping functionality.
Subject:Preview and backmapping for word documents Author:(Deleted User) Date:26 May 2008 09:07 AM
Hi Karthik,
Stylus Studio can backmap the actual wordML tag to the corresponding XSLT instruction or XML source; alternatively you can change the scenario options to specify an output file name with the .doc extension and check the "open output with external application" to have Stylus open a copy of Word displaying the interpreted WordML structure. But in this case you cannot backmap from the rendering performed by Word into the XSLT instructions, as only Word knows the relation between WordML and its visual representation.
in the preview window you could click (in the text or XML view) on the "line 1" text so that the line with the "<xsl:value-of select="@text"/>" instruction is highlighted. Right clicking on the "line 1" and selecting "Backmap to XML" will open the source XML document and locate the "sentence" element from which the text was extracted.