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 02:28:46 +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
Files: 971 Matches: 971 Average: 1
patterns. But to my embarrassment, some of the stylesheet dont seem to be well-formed. Have to fix this first.
-- Gerrit Imsieke Geschdftsf|hrer / Managing Director le-tex publishing services GmbH Weissenfelser Str. 84, 04229 Leipzig, Germany Phone +49 341 355356 110, Fax +49 341 355356 510 gerrit.imsieke@xxxxxxxxx, http://www.le-tex.de
Registergericht / Commercial Register: Amtsgericht Leipzig Registernummer / Registration Number: HRB 24930
Geschdftsf|hrer: Gerrit Imsieke, Svea Jelonek, Thomas Schmidt, Dr. Reinhard Vvckler
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] why not match text()? (fo, Imsieke, Gerrit, le- | Thread | Re: [xsl] why not match text()? (fo, Wendell Piez |
RE: [xsl] Novice Question - matchin, David Lee | Date | Re: [xsl] why not match text()? (fo, Andrew Welch |
Month |