I would like to have a default value available to be returned in case \xmlatt{#1}{attr} is absent. Something like \xmlattdefault{#1}{attr} {default}. Or is this already possible? I cannot find such a thing in the current reference manual for mkiv xml-processing. Hans van der Meer
On 9-3-2010 17:08, Hans van der Meer wrote:
I would like to have a default value available to be returned in case \xmlatt{#1}{attr} is absent. Something like \xmlattdefault{#1}{attr}{default}.
Or is this already possible? I cannot find such a thing in the current reference manual for mkiv xml-processing.
\xmlattdef ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Hans van der Meer