Skip to main content
subaG86
Known Participant
September 19, 2019
Question

# converted into %23 in exported XML

  • September 19, 2019
  • 1 reply
  • 624 views

Hi Folks,

As per our client requirement, URL text and its attribute value should exactly match in XML. In this case, InDesign has the following URL text and its attribute value.

<a class="ulink" href="https://www.ft.com/intl/cms/s/0/06568de8-7cc2-11e2-afb6-00144feabdc0.html#axzz2LmTokbXz">https://www.ft.com/intl/cms/s/0/06568de8-7cc2-11e2-afb6-00144feabdc0.html#axzz2LmTokbXz</a>

 

But in exported XML, # is changed to %23 in attribute value. 

<a class="ulink" href1="https://www.ft.com/intl/cms/s/0/06568de8-7cc2-11e2-afb6-00144feabdc0.html%23axzz2LmTokbXz">https://www.ft.com/intl/cms/s/0/06568de8-7cc2-11e2-afb6-00144feabdc0.html#axzz2LmTokbXz</a>

 

Likewise below listed characters are changed in exported XML.

& --> %26

% --> %25

, --> %2c

~ --> %7e

+ --> %2b

 

Please suggest how to retain the character in exported XML.

 

 

 

 

    This topic has been closed for replies.

    1 reply

    Participant
    July 14, 2020

    I have the same issue, is there a way to prevent the '#' being converted to '%23'?

    Many thanks.