[NTG-context] m-letter backslash codes in xml database
h h extern
pragma at wxs.nl
Fri Jan 14 17:44:50 CET 2005
Rob Ermers wrote:
> Contexers,
>
> That the best way for coding diacritics in the xml database which you
> wish to use for your mailing is by using the appropriate iso-latin1 or
> unicode number:
>
> <contact num="3" regio="z3" label=`num3'>
> <address>
> <p>J. Schöttelndreher</p>
> <p>J. Schöttelndreher</p>
> <p>Laan der Drieëenheid</p>
> <p>Laan der Drieëenheid</p>
> ....
> </address>
> </contact>
>
> The unicode number (&#x..) gives a slightly better result in my pdf.
if you want to move things around in an encoding neutral way:
\defineXMLsingular
[c]
[n=unknowncharacter]
{\executeifdefined {\XMLop{id}} \unknowncharacter}
<c n='eacute'/>
sometimes it's handier to move elements around than entities
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list