I want to convert the seconds into weeks and days using xslt. Here is the xml which needs transformation:
<INSTANCE cast="Duration" key="false" name="Actual RPO" trend="false">
<ITEM end="-1" start="-1">
33287552
</ITEM>
</INSTANCE>
The value in the tag is in seconds.I need to show the output as Number of weeks and the days.
Format for Output: Actual RPO: 55 weeks 0 days
(Formula: Days: value/(60*60*24) Weeks: value/(60*60*24*7))