10
Vote

Strings with single quotes

description

The shared string implementation does not properly escape singel quotes (and other special characters in xml) in the xpath that it uses to search, so if you try to set a cell's value to "Dave's Project", it fails.
 
I'm attaching one possible solution to this, though it may not be the best.

file attachments

comments

smrutiranjanp wrote Sep 29, 2015 at 1:06 PM

Could you please explain how this class can be utilized while creating excel file from the template.
Any code / hint will do the work.

Thanks,
SRP