[NTG-context] Xml filtering in Lua
Thomas A. Schmitz
thomas.schmitz at uni-bonn.de
Mon Nov 21 09:23:18 CET 2022
On 11/20/22 19:19, Thomas A. Schmitz via ntg-context wrote:
> I load data from an external xml file (not the one I'm processing) and
> store some of it in a lua table.
> local examples = lxml.load ("my_examples", "examples.xml")
Replying to myself, and sorry for the noise (this was fairly easy,
should have seen it earlier):
instead of loading the file "examples.xml," I simply include it via
xmlinclude into the tree; this way the proper setups are applied.
More information about the ntg-context