|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL-FO Doctype Problem
Clear as mud! : ) So, I figure I have to pick my battles. My current battle is with xsl-fo, which I am learning / discovering is a very rich language for document formatting and PDF generation! Well, the battle is one, I have a C# app which is producing fo, and in turn generating PDF's! Oh - I ended up turning the xsl-fo template into a stand-alone template for now. I do have one additional question about xsl-fo. I am getting results, but the PDF will sometimes render my text really weird. It sort of looks like a spaceship font! It happens when I scroll through the doc, the initial visible text displayed in the PDF doc looks fine, but once you scroll beyond that, the weird "space ship" font appears. It comes and goes... I'm not sure if that is an xsl-fo formatting issue, or my adobe reader. Any ideas? Karl.. On Jan 26, 2008 9:18 PM, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote: > At 2008-01-26 19:40 -0700, Karl Stubsjoen wrote: > >My XSL-FO output is getting a doctype. This is because the parent xsl > >template declares a doctype, but I do not understand, if I have an > >output of type xml at the fo template level, and I am matching on root > >"/", shouldn't the doctype be snuffed? > > Serialization is separate from result tree building, which is > different from source tree matching. > > Matching on the root node *of the source tree* declares the > construction template of nodes *for the result tree*. Serialization > guides how the result tree is realized as angle brackets. > > The <xsl:output> defines aspects of serialization of the result tree, > regardless of how the result tree is built. > > I hope this helps. > > . . . . . . . . . . Ken > > -- > World-wide corporate, govt. & user group XML, XSL and UBL training > RSS feeds: publicly-available developer resources and training > G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx > Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ > Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) > Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc > Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






