|
|
Rank: Newbie
Joined: 12/8/2006 Posts: 7 Location: USA
|
Is it possible to insert a condition in a dynamic table? For example, I drag an xml element named 'customer' into the Design window. I want to create a table with all the customers in it. However, I only want customers with status = 'active', where status is an xml element under 'customer'. I can't seem to input a condition into the dynamic table in the Design window. I can in a static table. The only thing I can think to do is separate the xml into active customers and inactive customers and create a dynamic table for the active customers. I really don't want to do that.
|
|
Rank: Advanced Member
Joined: 9/9/2005 Posts: 483 Location: AT
|
Hello,
Yes, this should be possible by wrapping the element in the table's cell in a condition. The downside to this approach is that a empty cell (or row) will still be created.
If this continues to trouble you then please submit your files along with a request for support and we'll be happy to take a look.
|
|
Rank: Newbie
Joined: 12/20/2007 Posts: 2 Location: Netherlands
|
Same problem here,
Is there a way to not have the rows & cells created anyway. This causes serious output problems in rtf and html that is imported in eg Word. Maybe define a variable for the subset?
Cheers, Willem
|
|
Rank: Advanced Member
Joined: 12/27/2006 Posts: 31 Location: Vienna
|
Willem Mol wrote:Same problem here,
Is there a way to not have the rows & cells created anyway. This causes serious output problems in rtf and html that is imported in eg Word. Maybe define a variable for the subset?
Cheers, Willem
Hello Willem,
I might have a solution for you that uses a combination of DIVs and tables in conjunction with conditions on rows and even cells. Please send your project files (XML, XSD, SPS, desired result) to our technical support as it would be too vague to explain it here.
Christophe support engineer
|
|
|
guest |