[NTG-context] xml attribute conditional

Hans Hagen pragma at wxs.nl
Wed Dec 14 01:02:57 CET 2011


On 13-12-2011 20:21, Jon Crump wrote:

> @xml:id==string.sub('#N020-18', 2) ->
>      (ll.at and ll.at['xml:id'])==string.sub('#N020-18', 2) ! Missing
> number, treated as zero.

lua error with sub .. not sure what you want t o test here

indeed an error will prevent the multipass file to be saved (feature)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list