I'm working in the purely hypothetical realm, at the moment, as I do not
have a copy of 5.4 installed, but it does seem reasonable that Editor is
decoding the attribute value since it knows that the value is a URL, thanks
to the style sheet. The DCF and Styler sheet have an interesting
relationship, in the areas of functionality where they overlap.
Even though I know the answer is probably "because" (the real requirements
tend to produce tears of frustration, eh?), I can't resist asking why you
want to display the URL in encoded form?
As a workaround to the behavior you're seeing, you might try gentexting the
attribute value using a different method, such as an XPath expression,
possibly with a no-op string function like "substring(@target, 1)", if
needed, to try to bypass the decoding.
-Brandon 🙂