Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Wildcards in XSL
System
This may seem simple and I hope it is. I am trying to use a wildcard in XSL to basically perform an action when the value that is returned is a .pdf file. I have attached the code I am using at the moment. I simply want it to automatically place an PDF image next to the link if a .pdf file is chosen. I currently am using a flag to place the icon but I want it to do it automatically.
Thanks in advance
Find more posts tagged with
Comments
vpatel
Something like this: <xsl:when test="
contains
($thelink, '.pdf')"> ??
Migrateduser
Thanks for the response. It worked perfectly.