Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Support for xsl created from wordml using inference tool

From: Blackjack <terrorblackjack@-----.--->
To: NULL
Date: 5/13/2008 1:18:00 AM
We are creating word documents using the wordml approach. Following
are the steps carried out,

1=95 Create an xml file to create the report template

2=95 Open this xml file in word and apply the formatting for the static
part of the document which does not involve any business logic (like
adding header, footer, page number etc)

3=95 Save the xml file after unselecting "Save data only" option

4=95 Run the inference tool(for word 2003) to convert the xml to xsl
file


5=95 Open the xsl file generated by the inference tool and add all the
business logic (like dynamic generation of tables) at appropriate
places of the xsl document. This business logic will be used to fetch
the data from the xml file (which acts as the data store).

6=95 Then finally in the C# code the Transform method is applied using
the xsl and xml files to get the final report in word 2003. To get the
output report in doc format, the extension of the output file is
mentioned as doc.


Step 5 is very difficult in the above approach because the xsl file
generated by the inference tool generates a lot of code and it becomes
very difficult to identify approprite places for writing the business
logic. The maintainability of the code becomes very poor.

Does any XSL editor make the xsl edting easy in the xsl generated by
the inference tool?


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent