xsl-list
[Top] [All Lists]

Re: [xsl] FO table-body empty validation error

2008-07-22 10:09:05
So the arrangment is legal.  That is all I need to know.  I am
outputing a fo file with every transformation.

Thanks!
Karl..

On Mon, Jul 21, 2008 at 5:55 PM, G. Ken Holman
<gkholman(_at_)cranesoftwrights(_dot_)com> wrote:
At 2008-07-21 15:54 -0700, Karl Stubsjoen wrote:

If I do:

<fo:table>
 <fo:table-body>
   <xsl:apply-templates select="stuff"/>
 </fo:table-body>
</fo:table>

Where a match on "stuff" produces a bunch of fo table-rows... I get
the following validation error:

Empty 'fo:table-body'.
event validation total: 1 error

Is this an expected error?

I'm guessing <stuff> never matched and your table body really is empty.  If
you are doing a transformation using a different tool than your FO engine,
you should be able to inspect the FO instance and see for yourself.  If you
are using an FO engine with an embedded XSLT processor there should be an
option to expose the transformed result so that you can inspect what
actually ended up in the XSL-FO.

I hope this helps.

. . . . . . . . . . Ken

--
Upcoming XSLT/XSL-FO hands-on courses:      Wellington, NZ 2009-01
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>