Home Forums XMetaL Tips and Tricks Workaround: Automate replacement of ampersands in attributes with & Reply To: Workaround: Automate replacement of ampersands in attributes with &

Derek Read

Reply to: Workaround: Automate replacement of ampersands in attributes with &

See the following posting for an updated version of my original script that now handles < > in addition to &:
http://forums.xmetal.com/index.php/topic,1392

It escapes these characters immediately after you have entered them in the Attribute Inspector (so you no longer need to enter them manually as entities).

It also finds and replaces any occurences of these characters in all attributes in a document whenever it is validated so that an end user should never see a validation error related to unescaped copies of these characters in attributes (unless they are saving from Plain Text view).

Reply

Products
Downloads
Support