Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: Tue, 13 May 2008 01:23:35 -0700 (PDT),    group: microsoft.public.xml        back       


Support for xsl created from wordml using inference tool   
We are creating word documents using the wordml approach. Following
are the steps carried out,

1• Create an xml file to create the report template

2• 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• Save the xml file after unselecting "Save data only" option

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


5• 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• 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?
date: Tue, 13 May 2008 01:23:35 -0700 (PDT)   author:   Blackjack

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us