Hi,

I'm trying to write a report using tables with test names and their results but I 
always run in to errors like "You can't add listitems, rows or cells to a cell.".

Please give me a hint what's wrong with the following code when using the 
itext-example 0705:

tagmap.xml
<tagmap>
        <tag name="itext" alias="REPORT" />
        <tag name="newpage" alias="NEWPAGE" />
        <tag name="newline" alias="NEWLINE" />
        <tag name="paragraph" alias="REPORTTITLE">
                <attribute name="size" value="18" />
                <attribute name="align" value="Center" />
                <attribute name="color" value="red" />
        </tag>
        <tag name="table" alias="TABLE">
                <attribute name="borderwidth" value="2" />
        </tag>
        <tag name="cell" alias="CELL1">
                <attribute name="size" value="18" />
        </tag>
        <tag name="cell" alias="CELL2">
                <attribute name="size" value="12" />
        </tag>
</tagmap>

XML-file
<?xml version="1.0" encoding="ISO-8859-1"?>
<REPORT>
<REPORTTITLE>Report</REPORTTITLE>
<NEWLINE />
<TABLE>
<CELL1>Startup</CELL1>
<CELL2>Failed</CELL2>
<CELL1>Test</CELL1>
<CELL2>Passed</CELL2>
</TABLE>
<NEWPAGE />     
</REPORT>

The expected outcome should look like that:

                        Report
Startup         Failed
Test            Passed

Thanks in advance and best regards
Joachim Hesse


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to