summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/context/sources/general/manuals/xml')
-rw-r--r--doc/context/sources/general/manuals/xml/xml-mkiv-commands.tex4
-rw-r--r--doc/context/sources/general/manuals/xml/xml-mkiv-expressions.tex1
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/context/sources/general/manuals/xml/xml-mkiv-commands.tex b/doc/context/sources/general/manuals/xml/xml-mkiv-commands.tex
index ab9989895..8d9e9ef47 100644
--- a/doc/context/sources/general/manuals/xml/xml-mkiv-commands.tex
+++ b/doc/context/sources/general/manuals/xml/xml-mkiv-commands.tex
@@ -309,6 +309,10 @@ You can restrict flushing by using commands that accept a specification.
returns the index (position) in the parent node of \cmdinternal {cd:node}
\stopxmlcmd
+\startxmlcmd {\cmdbasicsetup{xmldepth}}
+ returns the depth in the tree of \cmdinternal {cd:node}
+\stopxmlcmd
+
\startxmlcmd {\cmdbasicsetup{xmlconcat}}
returns the sequence of nodes that match \cmdinternal {cd:lpath} at
\cmdinternal {cd:node} whereby \cmdinternal {cd:text} is put between each
diff --git a/doc/context/sources/general/manuals/xml/xml-mkiv-expressions.tex b/doc/context/sources/general/manuals/xml/xml-mkiv-expressions.tex
index 0c126f2f8..b063cab54 100644
--- a/doc/context/sources/general/manuals/xml/xml-mkiv-expressions.tex
+++ b/doc/context/sources/general/manuals/xml/xml-mkiv-expressions.tex
@@ -460,6 +460,7 @@ but that is hardly noticeable.
\NC \type {last()} \NC content \NC processes the last instance of the found element \NC \NR
\NC \type {concat(...)} \NC content \NC concatinates the match \NC \NC \NR
\NC \type {concatrange(from,to,...)} \NC content \NC concatinates a range of matches \NC \NC \NR
+\NC \type {depth()} \NC number \NC the depth in the tree of the found element \NC \NC \NR
\stoptabulate
The extra arguments of the concatinators are: \type {separator} (string), \type