Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hello,
With the ACL language, How to convert in a string the character entity "amp" to the real character "&"?
I would like a function which converts all entities.
David
Solved! Go to Solution.
Again, I strongly recommend reviewing the ACL reference in the Arbortext Help Center. Here is what you seek: http://support.ptc.com/help/arbortext_hc/ae71_hc/en/index.html#page/Program%2Facl_ref%2Fhelp977.html%23
https://support.ptc.com/help/arbortext_hc/ae71_hc/en/index.html#page/Program/acl_ref/help909.html
This is documented in the Arbortext Help Center, link above. For example, for the declaration <!ENTITY Auml “&#x00C4”> the function entity("Auml") returns "D" (character 0xc4).
To do this for all entities in an Arbortext document you can use the ACL function doc_flatten("text") as described in the link below.
Hello,
Thank for your response.
But, for example I assign a variable with the following text "Engineers & technicians" and I would like display in a dialog box the text : Engineers & technicians.
David
Again, I strongly recommend reviewing the ACL reference in the Arbortext Help Center. Here is what you seek: http://support.ptc.com/help/arbortext_hc/ae71_hc/en/index.html#page/Program%2Facl_ref%2Fhelp977.html%23
Thanks for your help
David