Subject: Re: [xsl] can you select name() of attributes? From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx> Date: Wed, 28 Jul 2004 06:28:37 +0000 |
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.
Doc1.xml <Input> <I q="input value" s="Invalid attribute">Input</I> </Input>
Doc2.xml <A> <B q="default" r="default">Text1</B> </A>
Regards, Ragulf Pickaxe
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] can you select name() of , David Carlisle | Thread | Re: [xsl] can you select name() of , David Carlisle |
Re: [xsl] And operator usage in XSL, Arulraj | Date | RE: [xsl] Merging and sorting multi, Herve Dubreuil |
Month |