On 22-2-2011 8:34, Thomas A. Schmitz wrote:
xml blob
\xmlsetsetup{#1}{B/C/..[1]}{xml:C:first}
select all B
select all C in found B's
select first in all found
\startbuffer[test]
A
Bcat/B
BCdog/C/B
BCmouse/C/B
BCdonkey/C/B
Bgiraffe/B
/A
\stopbuffer
\startxmlsetups
Hi all,
this must be easy, but I don't find the solution. Given an
xml structure like this:
X
Adog/A
ABcat/B/A
ABmouse/B/A
/X
which \xmlfilter expression do I need to get the first A
element which has a subelement B? I.e., the filter
should only return cat, not dog or mouse. There
On Feb 21, 2011, at 11:37 PM, Hans Hagen wrote:
On 21-2-2011 8:11, Thomas Schmitz wrote:
Hi all,
this must be easy, but I don't find the solution. Given an xml structure
like this:
X
Adog/A
ABcat/B/A
ABmouse/B/A
/X
which \xmlfilter expression do I need to get the first A element