xsl-list
[Top] [All Lists]

Re: can you select name() of attributes?

2004-07-27 08:18:43

  The old line is commented out. I found that the old one would copy every 
  attribute from $Doc1 if but one attribute of the same name exists in $Doc2.

I don't think it should, what processor?

You have changed

[foo = bar] to [not(foo != bar)]

these two expressions are not in general equivalent (eg if either foo or
bar is a node set) but in your case both are the result of the name()
function so they are strings, and for strings these expressions are
equivalent.


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
________________________________________________________________________