|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Outputing Differences between two files
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jonathan, I'm not sure whether I understand your question. Your subject says you want to compute the difference between two xml files. I wrote such a stylesheet recently, but I don't see the two files you talk about in your example. Or do you want to output only nodes that are duplicated in the same xml file? If you posted you input and the desired output, perhaps I could help. Regards, Wolfgang Jonathan Marenus wrote: > I'm trying to write an XSL that receives an XML file > as input and outputs only the values that have a > certain sibling's value duplicated in the file. For > example, if I have the following XML: > > <a> > <b>Value1</b> > <bb>Value2</bb> > <bbb>Value3</bbb> > </a> > <c> > <b>Value4</b> > <bb>Value2</bb> > <bbb>Value5</bbb> > </c> > > In this example, I want the output sibling to be > "a/bbb". Since "Value2" is shown twice for element > bb, I want to output "Value3", since that is the > output sibling. Any feedback regarding this example > would be appreciated, so that I can apply it to my > actual situation. > > Thanks. > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC24gvqjaicDyx8o8RAn/eAJ9SPATKCZ8lomo0x+PggIRKz7RrqACfW7d8 1sQbFx03wLZOKxYM9qMvD4s= =ATEi -----END PGP SIGNATURE-----
|
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
|

Cart








