Quoting "J.Pietschmann" <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > > When I executed the command line using "fop -xsl this.xsl -xml this.xml > -pdf > > this.pdf", I don't get the error message " some content cannot fit into > static > > area". > > But When you merge this xml and xsl using xalan.bat to formatting objects > and > > convert the generated fo using command line "fop this.fo -pdf this.pdf" , I > see > > the error. > > > > I removed the attribute indent="yes" in xsl:output from the stylesheet, > then > > this works fine both ways. > > If you create the intermediate FO as file, the XML document is serialized, > and the indent="yes" in the style sheet takes effect. The spec warns, for > good reason, that indent="yes" may insert significant whitespace into the > file, or in other words: you may get something else than what you think you > should get. It is strongly discouraged to use indent="yes" for XML which > may contain mixed element content, such as XSLFO. > > If you tell the FOP CLI to use the XML and XSL directly, no intermediate > serialization takes place, the transformation result is fed directly into > the rendering engine. In this case none of the settings in xsl:output has > any effect at all (and neither has disable-output-escaping). > > J.Pietschmann > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Hope other people are aware of this misuse of indent=yes attribute causing problems in generating the final output. Thank you J.Pietschmann for your quick response and I appreciate your efforts in educating others in this and other forums( like xsl:fo yahoo). -Raj --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
