On 8/25/2023 10:16 AM, denis.ma...@unibe.ch wrote:
Hi,
I need to process URLs in XML documents differently depending on the target.
Thanks to Hans and Thomas I can now deal with the attributes.
Now I need to prefix certain kind of targets with a certain URL (a web viewer
for IIIF images in this particular case). The prefix contains a #, which, as a
special character seems to cause an error. Adding a double hash seems to work,
but those ## will end up in the link URL. How can I properly escape a single #?
I've already tried using \Ux{23}, but that won't work either.
\#
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________