XPath syntax definitions
Posted: Fri Feb 21, 2003 11:53 am
I've written http://www21.brinkster.com/owenblacker/ ... /xpath.syn as a syntax definition for XPath (as *.xpath files, not as a part of XSLT files) and it's kinda working, but I think it's being confused by the presence of hyphens in keywords (despite having told it to expect them in exactly the same way as awk.syn that ships with TextPad) and it's not highlighting all the terms.
If you look at http://www21.brinkster.com/owenblacker/ ... mple.xpath , you'll see that string() and not() aren't highlighting in TextPad (v4,5 or 4,6,2; both on Windows 2000), for example. You might find that viewing xpath.syn using xpath.syn for syntax highlighting proves useful to debug, btw.
It's undoubtedly that I've done something wrong, this being the third or fourth TextPad definition I've ever written, but can anyone see what? *GRIN*
Thanks in advance,
Owen x
If you look at http://www21.brinkster.com/owenblacker/ ... mple.xpath , you'll see that string() and not() aren't highlighting in TextPad (v4,5 or 4,6,2; both on Windows 2000), for example. You might find that viewing xpath.syn using xpath.syn for syntax highlighting proves useful to debug, btw.
It's undoubtedly that I've done something wrong, this being the third or fourth TextPad definition I've ever written, but can anyone see what? *GRIN*
Thanks in advance,
Owen x