On 3/5/2026 7:26 AM, Pablo Rodriguez via ntg-context wrote:
On 3/4/26 21:56, Henning Hraban Ramm wrote:
Am 04.03.26 um 19:49 schrieb Pablo Rodriguez via ntg-context:
I think “Dealing with XML in ConTeXt MkIV” (or `xml-mkiv.pdf`) is hard
to understand due to the lack of previous exposure to XPath (at least,
this was mainly my experience).

XPath (or LPath in ConTeXt) should not be hard to understand, but it is
for me, too.

It is lack of experience (at least in my case) what makes it harder to
understand, because a new mental model (or approach) is needed.

Basic CSS selectors (also implemented for XML handling) may be easier in
some cases (although, I must admit, I feel like cheating).

Examples from the manual may seem even too dry, but finding more verbose
and different samples belongs ot another kind of document (mainly
written by users, not by Hans).

Have a look at this tutorial by Thomas Schmitz:
https://articles.contextgarden.net/journal/2019/42-53.pdf

I’m afraid it doesn’t cover more complex lpaths than elements (as it
should be the case with an introductory article).

Many thanks for your helpm

there are some exaples in the test suite

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to