A
Aaron Davies
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.
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.