[jdom-interest] Filter help

White, Tim Tim.White at qwest.com
Tue Mar 16 10:08:53 PST 2004

Hi -

 How do I ignore a tag completely with a filter?

 i.e. I have this:

<p>This is some <b>bold</b> text</p>

I would like one node for the <p>, but to leave the rest alone - that is
leave the <b> in there.

I can't alter the source to add CDATA, so I was hoping to filter on only
the <p> tags.

Seems that if I don't pass the event up the chain for the <b> tags
though, it removes them from the source.

Any thoughts?


Tim White

More information about the jdom-interest mailing list