Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XSLT to Remove Elements with Specific Attributes? XSLT to Remove Elements with Specific Attributes?To: NULL Date: 2/6/2009 12:44:00 AM I'm new to XSLT, and thought I'd start off with (what I hoped was) a fairly simple transform, but I can't make heads or tails of the example code I've found around the web. I'd like to a transform that copies input to output, except that elements of a specific type with attributes with specific values (and all their content) are omitted completely. An example would be processing XHTML and dropping all P paragraphs with class="foo". I assume this is fairly easily derivable from an identity filter, but I'm not sure where to start. Any help would be much appreciated. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
