Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Replace element text within xml >Thread Next - Re: Replace element text within xml Re: Replace element text within xmlTo: NULL Date: 9/1/2005 4:21:00 AM Thanks for your help. However, I do not really understand your response as I know next to nothing about xslt. Could you please point me to an example that could help me on my way? Thanks Dan "Dimitre Novatchev" wrote: > Use an identity rule overridden by a template matching "test-suite" and > another one matching "test-case" > > Cheers, > Dimitre Novatchev > > > "Dan Kelley" <DanKelley@d...> wrote in message > news:569BD49B-DE6F-45C5-9EA1-23C317E8313E@m...... > >I am a complete xslt newbie, and have what I think is a very easy problem > >to > > solve, but not sure where to start. > > > > I have some xml from NUnit in the form: > > > > <test-results name="name"> > > <test-suite name="name"> > > <results> > > <test-case name="name"> > > ... > > </test-case> > > </results> > > </test-suite> > > <test-results> > > > > I need to apply a transformation to this xml, so that it recursively > > replaces <test-suite> with <testsuite> and replaces <test-case> with > > <testcase> (as well as the closing elements). > > > > If anyone could help that would be greatly appreciated. > > > > Thanks > > Dan > > > > > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
