Re: XSL FO
On Thu, 6 Feb 2003, J.Pietschmann wrote: Tom Place wrote: !-- This error is generated by the tomcat window-- java.lang.RuntimeException: Errors in XSLT transformation: Fatal: org.apache.for.apps.FOPException: 'master-referance' for 'fo:page-sequence matches no 'simple-page-master' or 'page-sequence-master' You have a discrepancy between the @master-name(s) of your page-masters and the name you are using to reference them in the @master-reference of your page-sequence. It is also recommended to use the FOP CLI for initial development of the style sheet and deploy to Cocoon only after some debugging. You'll get better error messages. J.Pietschmann I second. Mike Mike Haarman [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XSL FO
You probably got caught out with an older version of FOP before. This: fo:page-sequence master-name = run1 xsl:apply-templates/ /fo:page-sequence should read: fo:page-sequence master-reference = run1 xsl:apply-templates/ /fo:page-sequence Bye, Perry Molendijk - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XSL FO
Tom Place wrote: I am new to XSL FO and have been working through some tutorials. Keep in mind that most of the tutorials have been written before the XSLFO spec went REC status and have not been updated to the final spec. !-- This error is generated by the tomcat window-- java.lang.RuntimeException: Errors in XSLT transformation: Fatal: org.apache.for.apps.FOPException: 'master-referance' for 'fo:page-sequence matches no 'simple-page-master' or 'page-sequence-master' ... If anyone can spot the error it would be most appreciated however as I say this has been copied CLOSELY from a textbook so I'm at a loss Even recent textbooks have errors. In case of doubt 1. Read the FO spec. 2. Ask on the fop-user list. It is also recommended to use the FOP CLI for initial development of the style sheet and deploy to Cocoon only after some debugging. You'll get better error messages. J.Pietschmann - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XSL-FO (Colspan)
At 08:59 06/02/02, Ferran wrote: Hi, I'm working with xsl-fo, and I've made some tables... but, Is it possible to do something like td colspan.. ? in xsl-fo (I'm trying to do this in pdf format) Firstly I'd recommend asking straight FOP questions in the fo-user mailing list. (It does exist :-) There is a higher concentration of FOP users there who can help you. (Cocoon uses FOP for its XSL:FO by default). To try answering your question. Dunno I don't remember OK. If you download the latest release of FOP it comes with examples. One of the examples has a column span example in it. Extract from tables/headfoot.fo fo:block space-before.optimum=2cm Table 4: cells spanning columns /fo:block fo:table fo:table-column column-width=2cm/ fo:table-column column-width=2cm/ fo:table-column column-width=2cm/ fo:table-column column-width=2cm/ fo:table-column column-width=2cm/ fo:table-column column-width=2cm/ fo:table-body fo:table-row fo:table-cell border-width=0.5pt border-style=solid border-color=black text-align=center vertical-align=middle number-columns-spanned=1 background-color=#FF6AC0 fo:block 1 to 1/fo:block /fo:table-cell fo:table-cell border-width=0.5pt border-style=solid border-color=black text-align=center vertical-align=middle number-columns-spanned=5 background-color=#9BF2E9 fo:block 2 to 6/fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell border-width=0.5pt border-style=solid border-color=black text-align=center vertical-align=middle number-columns-spanned=2 background-color=#FF6AC0 fo:block 1 to 2/fo:block /fo:table-cell fo:table-cell border-width=0.5pt border-style=solid border-color=black text-align=center vertical-align=middle number-columns-spanned=4 background-color=#9BF2E9 fo:block 3 to 6/fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]