Re: [xsl] why not match text()? (fork from "Novice Question - matching entire text children")

Subject: Re: [xsl] why not match text()? (fork from "Novice Question - matching entire text children")
From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx>
Date: Tue, 21 Dec 2010 01:21:04 +0100
find . -name \*xsl | xargs grep -ch 'text()' | sed -e 's/^/.+/' | bc |
tail -1

Oops, should have used collection() with recurse=yes for this. Eat your own (or rather, Dr. Kays excellent) dogfood. The advantage of using collection() is quite clear: you can restrict the counting to text() in patterns. But to my embarrassment, some of the stylesheet dont seem to be well-formed. Have to fix this first.


Current Thread