hi all
i do have a xml structure this way :
what i want is :
if in a the icon tag is empty, put the description in bold, else do not put the description in bold and put the icon url.
well in fact i just want to know how could i expres this :
"if icon tag is empty do this, else do this" in xslt ?
my namespace is (MS XSL 3)
sorry for my english, i'm french Best regards X-),
Elise
i do have a xml structure this way :
Code:
<results dbname="Sales & Marketings">
<searchview name="AllDocs">
<result>
<url>[URL unfurl="true"]http://etc</url>[/URL]
<icon>150</icon>
<icon>171</icon>
<description>abcdef</description>
</result>
<result>
<url>[URL unfurl="true"]http://etc</url>[/URL]
<icon></icon>
<icon>172</icon>
<description>jaehdeg</description>
</result>
<result>
<url>[URL unfurl="true"]http://etc</url>[/URL]
<icon></icon>
<icon></icon>
<description>adhthsdgz</description>
</result>
</searchview>
</results>
what i want is :
if in a the icon tag is empty, put the description in bold, else do not put the description in bold and put the icon url.
well in fact i just want to know how could i expres this :
"if icon tag is empty do this, else do this" in xslt ?
my namespace is (MS XSL 3)
sorry for my english, i'm french Best regards X-),
Elise