I am trying to reproduce double quote(") on my placeholder which is part of the JavaScript but instead I am get the ("); is there away to get double quote(")instead;
I need to produce something like this [“Prod1”,“Prod2”,…].
Thank you for your question. It would be helpful if we knew more about your scenario, but let me try to answer your question to the best of my knowledge.
When you say you are trying to reproduce the double quotes on the placeholder, I assume you mean the placeholder value? If so, you could easily accomplish this with the user-defined placeholders in Docentric Full Edition.
As you can see, in the second column there is the @Namefield tagging element that references the item name. Below, there is another field tagging element that references the same @Name data field, but wraps its value into double quotes. Below is the Xpath expression that I am using to achieve this:
concat(char(“34”), @Name, char(“34”))
The expression is using the concat function that concatenates double quotes and the value of the @Name data field. To add the double quotes to the value of the item name, we have to use the char function that accepts the ASCII character codes: