|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Compare only XML Element between two files
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






