The plugins will have also a "select", so looking at the first word of every paragraph in a file would be:
scope: content
select: //para/word[position()=1]
To look at previous chapters, you would just change scope from "content" to "project".
I'm still planning on making the XSLT functions DI, so I can later write a function like `soundex()` that would let me compare like-sounding words that are too close to each other.
select: //para/soundex(word)
Author Intrusion Show more
Writing via TDD is occasionally slow, but it also feels like I'm trying to write a solid base for the rest of the code. Since I've failed so often to write #AuthorIntrusion, this approach "feels" better to me.
Now, I don't do BDD, I do a lot of TDD testing on SRPd internals.