[dev-context] wrong XML snippet?

Pablo Rodriguez oinos at gmx.es
Sat May 21 19:13:11 CEST 2022


Hans,

I’m not sure I understand the differences between postion(), match() and
and index()
[https://www.pragma-ade.com/general/manuals/xml-mkiv.pdf#page=34].

The XML snippet that comes with them only makes sense to me when
<resources> and <collections> have their tags closed.

I attach the diff containing what I think is the right way to do it.

Many thanks for your excellent work,

Pablo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xml-mkiv.diff
Type: text/x-patch
Size: 522 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/dev-context/attachments/20220521/ce940011/attachment.bin>


More information about the dev-context mailing list