Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 30th, 2009, 02:05 AM
Registered User
 
Join Date: Sep 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default xslt header/footer for word

Hello,

I want to create a word 2003 type document (.doc). I have a xml file and a xslt file. The first one has the data the second has the style. Then I combine these two through my c# code and create the doc file.

Can you please help me into solving the below issues concerning the xslt?



1)how can I define how big are the page margins?(top bottom left and right?)

2)how can I define what is written in each page’s header and footer (I want all pages to have the same header and footer which will be a text that I will enter hardcoded)



Thank you very much for your help in advance
 
Old September 30th, 2009, 07:43 AM
Friend of Wrox
 
Join Date: Nov 2007
Posts: 1,243
Thanks: 0
Thanked 245 Times in 244 Posts
Default

I am not familiar with the .doc document format and I am kind of astonished that you say you use XSLT to create it.
I don't think the problem you have is an XSLT problem, rather it is a question of knowledge about the .doc document format and how margin or header/footer are defined in it. You might want to look for a forum about Word.
__________________
Martin Honnen
Microsoft MVP (XML, Data Platform Development) 2005/04 - 2013/03
My blog
 
Old September 30th, 2009, 05:12 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

If you can specify the transformation you want to implement, then we can help you turn this specification into XSLT code. If you can't specify the transformation, then your problem is not an XSLT problem, and you're unlikely to get help on this forum.

I remember reading that the specification for Microsoft's Office XML formats is many thousands of pages long. Understanding it therefore needs rather specialized expertise.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
header footer zaman1111 JSP Basics 0 July 28th, 2005 05:00 PM
addin a header and footer rom XSLT 0 July 28th, 2005 03:24 AM
Modify header and footer of word file in ASP Andraw Classic ASP Basics 1 January 14th, 2005 08:04 PM
Regarding Word header and footer Hari_Word General .NET 0 November 19th, 2004 06:22 AM
can footer value show in header? yancyn Crystal Reports 0 August 5th, 2004 01:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.