Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - data set operation - remove nodes from one data set that have nodes that exist in another data set >Thread Next - Re: data set operation - remove nodes from one data set that have nodes that exist in another data set Re: data set operation - remove nodes from one data set that have nodes that exist in another data setTo: NULL Date: 7/27/2008 9:08:00 AM "vanSkier" <rod_Kane@h...> wrote in message news:93194946-7233-430e-a8d1-23d6442c1cdc@f...... > Hello, > > I'd like to uses xsl to process one set of nodes and for each node > that exists in that data set: determine if that node exists in a > second set of nodes and if it exists there remove it from the first > data set. > > Does any one have any ideas on the most efficient way to approach > this? If anyone has seen an example of this I'd much appreciate the > url where it's demonstrated. > > Than you very much. > > Rod If I were doing this in XSLT I'd use one of the documents as the source and bring the reference one in via the document() function. Then I'd copy all nodes except the referenced ones. The difficulty would be to determine the matching nodes, can you show a small example of the two documents and the output you need? The second question is you say you are using a data set, does this mean an ADO.NET dataset rather than XML files? -- Joe Fawcett (MVP - XML) http://joe.fawcett.name | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
