Bug x Feature

0 comments

Removing html tags from xml with xslt (aka string html tags with xslt)

0 comments
The technique to remove tags from xml with xslt is very creative. If you have a xml document that is like:

Lorem ipsum dolor sit amet <b> consectetur adipiscing elit </b>. Suspendisse ac ipsum eu orci accumsan dignissim. Fusce fringilla.

The script will store in the variable the items before the "<" and send to recursion the items after the ">".


 
  
   
  
 
 
 



 
 
  
   
   
   
   
    
    
   
  
  
   
  
 

Thanks to KaushaL.NET for this xslt code

Nice brazilian band

0 comments
It is a nice brazilian band but do not try to listen them live

Adding form to content editor web part - cewp

0 comments
After a while fighting with forms and content editor web part, I decided to write a jquery script to help with that, basically you replace the form with div and the script will generate a new form when the user submit. You can check out the code here: jquery sharepoint form

Sharepoint link in XSLT - FileRef

0 comments
For some reason SharePoint translate your FileRef links in XSLT when you use the data view web part, content query web part, or any other XSL in SharePoint. It translates to the library link. To fix it, you have to use the xsl:attribute. Example: