none
Parse RecurrenceData Field in XSLT

    Question

  • The requirement was that i had to change the calender list display form as per portal design theme, I have changed it successfully by using SPD, after changing the problem is that the RecurrenceData shows me the XML data of Recurrence Pattern of the event. I need to pares it as the SharePoint shows in default display form. Please guide me on that how can i do that? i tried to find the way at internet but could not find any proper and easy way.
    Sunday, July 28, 2013 10:05 AM

Answers

All replies

  • What does the XML data for the Recurrence Pattern look like?
    Sunday, July 28, 2013 10:48 PM
  • Thanks to reply me back here, the sample xml is there

    <recurrence><rule>
    <firstDayOfWeek>su</firstDayOfWeek>
    <repeat><daily dayFrequency="1" /></repeat>
    <repeatForever>FALSE</repeatForever>
    </rule></recurrence>

    the pattern can be changed as per defined recurrence options.

    Monday, July 29, 2013 8:00 PM
  • Depending on what you desire for the output, you'll need to do something like:-

    <xsl:template match="recurrence/rule">
      do your stuff here to parse rules
    </xsl:template>

    Monday, July 29, 2013 11:01 PM