[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Novice Question - matching entire text children

Subject: RE: Novice Question - matching entire text children
From: "David Lee" <dlee@xxxxxxxxxxx>
Date: Mon, 20 Dec 2010 12:09:59 -0500
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.