I was wondering if anyone could explain how to achieve the following. In my XSL, I have a child element whose parent may or may not have specified a width attribute. I believe the following element will grab the value:
However, how do I assign a default value if the width attribute is missing?
Thanks for the replies, Neil
Code:
<xsl:value-of select="../@width"/>
Thanks for the replies, Neil