diff options
Diffstat (limited to 'doc/context/sources/general/manuals/xml/xml-mkiv-examples.tex')
-rw-r--r-- | doc/context/sources/general/manuals/xml/xml-mkiv-examples.tex | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/context/sources/general/manuals/xml/xml-mkiv-examples.tex b/doc/context/sources/general/manuals/xml/xml-mkiv-examples.tex index 064510d6d..bb3c25187 100644 --- a/doc/context/sources/general/manuals/xml/xml-mkiv-examples.tex +++ b/doc/context/sources/general/manuals/xml/xml-mkiv-examples.tex @@ -1,3 +1,5 @@ +% language=us runpath=texruns:manuals/xml + \environment xml-mkiv-style \startcomponent xml-mkiv-examples @@ -778,7 +780,7 @@ The \XML\ parser is also available outside \TEX. Here is an example of its usage We pipe the result to \TEX\ but you can do with \type {t} whatever you like. \startbuffer -local x = xml.load("manual-demo-1.xml") +local x = xml.load("xml-mkiv-03.xml") local t = { } for c in xml.collected(x,"//*") do @@ -848,7 +850,7 @@ end Usage is as follows: \startbuffer -local x = xml.load("manual-demo-1.xml") +local x = xml.load("xml-mkiv-03.xml") local t = xml.applylpath(x,"//*/taglist()") context.tocontext(t) @@ -863,7 +865,7 @@ And indeed we get: But we can also say: \startbuffer -local x = xml.load("manual-demo-1.xml") +local x = xml.load("xml-mkiv-03.xml") local t = xml.applylpath(x,"//*/taglist(true)") context.tocontext(t) |