xml - xsl to remove all 'string' type quotes before converting to json output for any boolean values -
i using xsl convert xml json.
the josn boolean values showing myboolean:"true". should showing myboolean:true (without quotes around true).
how can make xsl remove 'string' type quotes before converting json output boolean values?
you can use translate() function strip out double-quote " , single quote/apostrophe ' characters our string value, translating them nothing:
translate(.,'"'','')
Comments
Post a Comment