This Java program makes use of a Ternary if, to map booleans to output strings: (a \"*\" for true, an empty string for false).
public class ternary { publi
You could utilise simple pattern matching in templates for this.
So, the first one matches true entries, and the other one matches all other cases (which in your cases is just false
So, given the following stylesheet
*
When applied to your sample XML, the following is output
* *