Open Marcel0024 opened 1 year ago
Sorry, I also do not know. I have never used this part of PowerTools.
The only thing I can suggest is to look at the source code.
A simple way that you can do this is:
You'd end up with something like this:
<Repeat Select="Orders/Order" />
Product: | <Content Select="./ProductDescription" /> |
Quantity: | <Content Select="./Quantity" /> |
<Conditional Select="count(./OrderDate) > 0" Match="True" />
Order Date: | <Content Select="./OrderDate" /> |
<EndConditional />
<EndRepeat />
If you don't add any whitespace between the rows then Word should render this as a single table.
Hi, i have 2 questions i can't find documentation on. (Even the original repos)
I don't want to show Order Date row if it's empty. I can add another boolean into the model indicating if it needs to be shown or not. But i can't figure out if you can add a conditional to the table.
<Conditional Select="count(./Orders/Order) > 0" Match="True" />
I can't find any documentation on
count(..)
? Where does it come from? And more importantly, what else is there?