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.