IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: jodi
About
User Name: jodi
Forum Rank: Newbie
Real Name:
Location
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Tuesday, January 24, 2012
Last Visit: Wednesday, January 25, 2012 1:35:42 PM
Number of Posts: 6
[0.03% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: How to put content in table cells
Posted: Wednesday, January 25, 2012 1:15:08 PM
Thanks vlad, to put me in right direction.

You made my day!!!
A lot of pressure of my shoulders now.

Jos
Topic: How to put content in table cells
Posted: Wednesday, January 25, 2012 1:08:19 PM
I've got it:

//qns:cell[@columnIndex=$column/@index and @rowIndex=$row/@index and ../qns:nr=$tableName]
Topic: How to put content in table cells
Posted: Wednesday, January 25, 2012 12:57:20 PM
vlad, that's true. I have fixed that.
It seems that all values are repeated in each cell.
Due to more tables within qns:tables

Please take a look at the new attached probeer.sps

thanks,

Jos
Topic: How to put content in table cells
Posted: Wednesday, January 25, 2012 12:13:33 PM
Dear vlad, you're the bomb. This is exactly want I want.
Unfortunately I'm still unable to reproduce it. What am I doing wrong?
Please took a look at the attachments.

Thanks,

Jos
Topic: How to put content in table cells
Posted: Wednesday, January 25, 2012 10:16:21 AM
vlad wrote:
What is actually your problem? From the screenshot below it is difficult to says what is wrong.

If you attach here all your files with description what you want to see, than the chances increase a lot that somebody can help you.



Here more detail:

This is a piece of my xml

<table xsi:type="tabCliNwLft">
<nr>1.1a</nr>
<title>Cliëntkenmerken bij nieuw cliënttraject bij bureau jeugdzorg en aanvang onderzoek AMK</title>
<tableDescription/>
<col0Title>Leeftijd</col0Title>
<column index="1" title="Aantal jeugdigen met nieuw cliënttraject bij bureau jeugdzorg"/>
<column index="2" title="Aantal jeugdigen bij aanvang onderzoek AMK"/>
<row index="1" title="0 tot en met 5 jaar"/>
<row index="2" title="6 tot en met 11 jaar"/>
<row index="3" title="12 tot en met 14 jaar"/>
<row index="4" title="15 tot en met 17 jaar"/>
<row index="5" title="18 jaar en ouder"/>
<row index="6" title="Onbekend"/>
<row index="7" title="Totaal" isTotalRow="true"/>
<cell columnIndex="1" rowIndex="1" value="1817"/>
<cell columnIndex="1" rowIndex="2" value="1976"/>
<cell columnIndex="1" rowIndex="3" value="1102"/>
<cell columnIndex="1" rowIndex="4" value="1444"/>
<cell columnIndex="1" rowIndex="5" value="114"/>
<cell columnIndex="1" rowIndex="6" value="0"/>
<cell columnIndex="1" rowIndex="7" value="6453"/>
<cell columnIndex="2" rowIndex="1" value="0"/>
<cell columnIndex="2" rowIndex="2" value="0"/>
<cell columnIndex="2" rowIndex="3" value="0"/>
<cell columnIndex="2" rowIndex="4" value="0"/>
<cell columnIndex="2" rowIndex="5" value="0"/>
<cell columnIndex="2" rowIndex="6" value="0"/>
<cell columnIndex="2" rowIndex="7" value="0"/>
</table>

You can see the relevant xsd in the attachment.

Each table has dynamic columns and row.
For example, some tables have 2 columns, with 5 rows, other tables have 10 columns and 10 rows

Stylevision is able to generate tables with dynamic columns and rows.

But I'm not able to fill each cell.
How can I do that?
In the result attachment you see 'Content?'. But that needs to be filled bij the value property in the cell elements.


Topic: How to put content in table cells
Posted: Tuesday, January 24, 2012 1:50:56 PM
Hello,

Just starting with Style Vision and yet I have a big show stopper.
Can any one help me.

It creates rows and columns as planned.
How can I fill the cells with content.

Kind regards

Jos

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.