Statistics
| Revision:

ccc / projets / CMC2ELAN / src / CheckMultipleVideoInXMLTEICMC.groovy @ 2

History | View | Annotate | Download (301 Bytes)

1

    
2
File splitDir = new File("/home/mdecorde/xml/comere/split")
3
for (File f : splitDir.listFiles()) {
4
        XPathResult xpathProcessor = new XPathResult(f);
5
        def files = xpathProcessor.getXpathResponses("//tei:dateline/tei:name/text()")
6
        files = new HashSet(files)
7
        if (files.size() > 1) println "$f        $files"
8
}