It's a shame that you have to use template rules in order to get
polymorphism - but at least it's possible in XSLT, which it isn't in XQuery!
couldn't you use xquery's typeswitch thingy to get a similar effect?
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________