Subject: Re: [xsl] Compare only XML Element between two files From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Fri, 26 Dec 2008 22:57:43 +0530 |
This will give you the required result, <xsl:value-of select="$file2//*[not(name() = $file1//*/name())]/name()" /> This would require XSLT 2.0. On Fri, Dec 26, 2008 at 12:57 PM, Byomokesh Sahoo <sahoo.byomokesh@xxxxxxxxx> wrote: > Dear All, > > I am searching the solution to compare only XML Element not text. If > any extra tag is found in file2.xml it will showing the tag name. Is > it possible using XSL. > > file1 XML > ===== > <TAG> > <LONGNAME/> > <PARCITE/> > <QLCITE/> > <COURTNAME/> > <COURTNUMBER1/> > <JUDGE/> > </TAG> > > File2.xml > ======= > > > > <FILE> > <PARCITE/> > 33 C.L.A.S. 664 > <SAHOO/> > <QLCITE/> > [1994] O.L.A.A. No. 466 > > <LONGNAME/> > IN THE MATTER OF an Arbitration > </FILE> > > I want showing the extra tag which is not available in file1.xml.... > > Anyone help me to find out this solution... > > Thanks > > Byomokesh -- Regards, Mukul Gandhi
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Compare only XML Element betw, Byomokesh Sahoo | Thread | [xsl] How to duplicate an entire su, nick public |
[xsl] Compare only XML Element betw, Byomokesh Sahoo | Date | [xsl] How to duplicate an entire su, nick public |
Month |