Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Support for xsl created from wordml using inference tool

From: stefan.oedenkoven@----------.---
To: NULL
Date: 5/28/2008 7:41:00 AM
Hi,

On 13 Mai, 10:17, Blackjack <terrorblackj...@gmail.com> wrote:
> We are creating word documents using the wordml approach. Following
> are the steps carried out,
> [...]
> 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.

If you've found an appropriate tool meanwhile, please let me know :)

I assume that your static and dynamic parts of the document are
changing frequently?

1. No:
You could embed them (header, footer, etc..) once manually in your
xslt and get a clean, maintainable xslt. Your styles could be swapped
to a separated styles.xml Compare to the structure of a .docx file
(unzip it).

2. Yes:
Think about adding placeholders in your seed-document or manually add
them in the generated xslt of the inference tool.
Process your data in two steps.
a) source.xml  =(inference-tool.xsl)=> document.xml (static parts with
placeholders for dynamic parts)
b) document.doc =(business-logic-xsl)=> final.doc

regards,
Stefan



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