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.

conditions in dynamic tables Options · View
acedog
Posted: Tuesday, August 21, 2007 8:49:09 PM
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.
paul
Posted: Wednesday, August 22, 2007 11:26:43 AM
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.
Willem Mol
Posted: Thursday, January 10, 2008 7:52:39 AM
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
chrisu
Posted: Thursday, January 10, 2008 12:34:40 PM
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
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

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