![](https://secure.gravatar.com/avatar/29c7bbff49b1599eddb2ec73fd9ffa6e.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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