Re: [xsl] Seek an XPath 2.0 expression for checking that each object in a file system has one parent

Subject: Re: [xsl] Seek an XPath 2.0 expression for checking that each object in a file system has one parent
From: "David Carlisle d.p.carlisle@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 16 Oct 2016 23:18:00 -0000
> every $f in //*  satisfies not(/descendant::*[name()=name($f)][2])

returns false for both your examples as D2 is duplicated in both
cases, you said every object (directory and file) had to have a single
parent. Your sample xpath seemed to be testing something different?

David

Current Thread