I have the following bits of XSL in my lengthier MeetingsFeed.xslt, the idea of this bit of code is to display an upload link if the meeting content has no document in it's file upload:
The problem I'm having is that in the two meetings that are stored, neither have documents stored against them, yet the XSL only displays one link on the last meeting item.
Very strange! If it works for one it should work for all. I can think of two moderately unlikely things to check into.
1. Wrap a string() around your two IF tests... <xsl:if test="string(data[@alias='meetingAgenda']) = '' ">
2. Confirm that the loop these if tests are in is actually cycling through the items properly. Perhaps include the following above the first IF statement temporarily:
xsl:if not displaying correctly
I have the following bits of XSL in my lengthier MeetingsFeed.xslt, the idea of this bit of code is to display an upload link if the meeting content has no document in it's file upload:
The problem I'm having is that in the two meetings that are stored, neither have documents stored against them, yet the XSL only displays one link on the last meeting item.
Is there something wrong with the code?
Regards,
Darryl
Very strange! If it works for one it should work for all. I can think of two moderately unlikely things to check into.
1. Wrap a string() around your two IF tests... <xsl:if test="string(data[@alias='meetingAgenda']) = '' ">
2. Confirm that the loop these if tests are in is actually cycling through the items properly. Perhaps include the following above the first IF statement temporarily:
cheers,
doug.
Look like it is fine, I think the test is wrong against a 'Uploader' property, thanks anyway Doug.
is working on a reply...