This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Using contains() on element type name


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@sun.com
-----------------------------------
http://vedavid.org/diss/
http://vedavid.org/xml/docs/



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]