This content has been marked as final.
Show 1 reply
-
1. Re: [JS][CS5/6] XML image href filename character encoding?
absqua Jun 17, 2013 12:06 PM (in response to booyajamo)You probably want to pass the filename through a url encoder, such as the global JS encodeURI() function. A normal apostrophe (U0027) shouldn't need to be encoded, but a right single quote (U2019) will. I don't think XSLT 1.0, which InDesign uses, has a built-in function to do it, but I bet someone out there has built a named template for XSLT 1.0 that you could pass the value through.
Jeff



