Apostrophe in Xslt
Trying to render apostrophe ' with xslt - add apostrophes to string
- Unable to use ' named char in concat function
- Unable to use ' html escape in concat function
Only use what worked was direct or assigning to a variable as you see in...
New item link for Content Query Web Part to open in popup window
This is a part of Xslt of Main
plusIcon.png and MyStyle.css is uploaded to /Style library/MyFolder
<link rel="stylesheet" type="text/css" href="/Style...
Create Edit item link for Content query web part
Sometimes you want to create edit link to list item (not the aspx page) in Content query web part. In this example, Item title is used like header and contains link to item itself in popup window.
Use this templates and code in...
In case we have $Rows variable and want to take 'Title' attribute from first row of $Rows
or in Content Query web part xml - Get listId of second Row element (321) - index start is 1, not 0
Format Date in Xslt
1. Add ddwrt namespace to xslt file header
2. Use ddwrt functions
<xsl:value-of select="ddwrt:FormatDateTime(@Created, 1033, 'd MMMM yyyy')" />
for 14 january...