![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 12/14/2017 10:18 PM, Pablo Rodriguez wrote:
On 12/14/2017 09:39 PM, Hans Hagen wrote:
On 12/14/2017 8:46 PM, Pablo Rodriguez wrote:
.header works fine, it is only #header that breaks compiliation.
I hope Hans can fix it (or explain what I’m doing wrong).
There's nothing to fix, as mentioned already # is kind of special in tex, so you need to escape it:
\xmlsetsetup{#1}{{\letterhash header}}{xml:header:id}
Many thanks for your reply, Hans.
I got it now. xml-mkiv.pdf contains not escaped samples of css identifier selectors, which contributes to the confusion.
Since the selector is basic in css (and escaping it gives a very weird css), could you consider that it might not be required to escape # as css selector?
then #1 would not work
(I would ask the same also for %, but I have never seen it in css.)
Many thanks for your help,
Pablo
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------