This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi all I wrote a XSL to give me the PDF doc. in which i had a lot of sections having heading, sub-heading. i am using common font styles for all my heading in the document. but i felt this is difficult to maintain if i need to change the font style.
Is there any way i can declare the font in one place and use it where ever i want, something like CSS in HTML,, whats in XSL???
You mean you wrote an XSL-FO document? I had a quick look at the fo:block element and I don't see any way to provide a reference to a font element, instead of hard-coding the font information as you are now doing.
But if you wrote something -- say an XSLT document -- that generated the XSL-FO document, you could easily have that something put the font information into the fo:block elements in whatever way you preferred.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com