|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Novice Question - matching entire text children
RE: Wendell' ---------- Yep ... a little knowledge is a dangerous thing, etc. It's understandable that the novice might not know that 'string()' is a function, while 'text()' is a node test. A novice probably isn't going to know what the difference between a function and a node test is. --------- The funny thing (knowing quite a lot about XQuery but still hardly anything about XSLT) is that I know very well the difference between string() and text() in XQuery, XDM and XPath. I know text() is a node and string() is a function. I was just hoping (and worth wasting 30 seconds trying) that Maybe in some magic fairyland XSLT would *evaluate* the match="ELEM/string()" and determine that indeed that evaluated to a non-empty string and decide to run the template... Especially when running into the tidbit in the specs that match expressions are a 'subset of XPath expressions' ... so hey, toss a little pixie dust and you never know what comes out ... It would be nice if it worked ... More knowledge is even MORE Dangerous ! ---------------------------------------- David A. Lee dlee@xxxxxxxxxxx http://www.xmlsh.org
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








