 |
| 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
|
|
|
|

July 15th, 2008, 09:52 AM
|
|
Authorized User
|
|
Join Date: Jun 2008
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Printed Page Header
Is there a way to put a page header at the top of every page when document is printed out?
Thank you!
|
|

July 15th, 2008, 09:55 AM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
|
|
What type of 'document' are you referring to?
/- Sam Judson : Wrox Technical Editor -/
|
|

July 15th, 2008, 10:05 AM
|
|
Authorized User
|
|
Join Date: Jun 2008
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Rendering an XML document with XSLT 2.0.
|
|

July 15th, 2008, 10:09 AM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
|
|
If you open the XML file in Word you can add headers and footers there. But I don't see what this has to do with XSLT?
/- Sam Judson : Wrox Technical Editor -/
|
|

July 15th, 2008, 12:16 PM
|
 |
Wrox Author
|
|
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
|
|
Rendering into what? HTML? XSL-FO? Microsoft RTF?
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
|
|

July 16th, 2008, 05:53 AM
|
|
Authorized User
|
|
Join Date: Jun 2008
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I'm guessing there is no way in XSLT to have hidden header that can be used when a user prints (prints on the top of each page)out the XML document. In order for this to happen I will have to use HTML, XSL-FO or MicroSoft RTF.
Thank you for your replies!
|
|

July 16th, 2008, 06:13 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
XSLT converts text files to text files. It has no concept of headers, footers or any other presentation aspect of the output, that is the job of HTML, PDF and similar. When you decide what you are using for presentation then we may be able to help with how to add a header.
--
Joe ( Microsoft MVP - XML)
|
|

July 16th, 2008, 07:25 AM
|
 |
Wrox Author
|
|
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
|
|
You don't seem to have grasped that XSLT doesn't render your XML, it merely transforms it into some other format like HTML, RTF, XSL-FO or whatever. Until you know what HTML (etc) you want to produce, don't even start to think about writing the XSLT code to produce it.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
|
|

July 18th, 2008, 11:46 AM
|
|
Authorized User
|
|
Join Date: Jun 2008
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thank you!
|
|
 |