Using contains() on element type name

Subject: Using contains() on element type name
From: John Robert Gardner <John.Robert.Gardner@xxxxxxxxxxxx>
Date: Mon, 7 Aug 2000 16:41:21 -0400 (EDT)
Short version, is it possible to use "contains()" on an element type name?

Or do I need to declare an arbitrary default namespace for the whole document, 
then use local-name() = contains(., 'something') 

Which, of course, I can't do b/c contains() returns a boolean true or false, and 
I have no local names equaling that, and I can't make contains() an arguement to 
local-name b/c it requires a nodeset.

So, if I have a whole bunch of elements called foo and bar, and only a few are 
foo.something, and bar.something, what am I missing in matching on them?

jr

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|
John Robert Gardner, Ph.D.
Enterprise Management Architecture Group
Sun Microsystems Inc.,
MailStop UBUR03-316			
1 Network Drive
Burlington, MA  01803-0903		|  "Earn this"
					|  
Ph. 781-442-0692			|  -Capt. John H. Miller
Fax 781-442-1539			|   Saving Private Ryan
e-mail  john.robert.gardner@xxxxxxx
-----------------------------------
http://vedavid.org/diss/
http://vedavid.org/xml/docs/



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread