I am creating a dynamic table using XSLT. Each Element in the XML DOM Tree represent a ROW in the output. For every request, the Element would have 1 out of 16 set of attributes.

I want to write an XSLT for this Element consisting of all the Attributes contained in the 16 sets but display only those which are required.

How can I write the XSL for this element where a <TD> would only be added for a limited attributes and the rest ignored.

Would greatly appreciate if someone can help me with this problem ASAP.

I have tried to include dynamic XSL in XML and apparently that does not work too.

Thanks & Regards,

Venu