[XOM-interest] getting rid of bold nodes from a parsed xhtmlDocument

Elliotte Harold elharo at metalab.unc.edu
Tue Oct 7 09:30:14 EDT 2008


Michael Kay wrote:
>> I have parsed some xhtml into a Document and I want to get 
>> rid of all bold text. What's the best way to do this? 
> 
> XSLT.
> 
> You really don't want to be doing low-level pointer twiddling for this kind
> of job.


Agreed. XSLT is the obvious solution for this problem whether called 
from XOM or in some other way.

-- 
Elliotte Rusty Harold  elharo at metalab.unc.edu
Refactoring HTML Just Published!
http://www.amazon.com/exec/obidos/ISBN=0321503635/ref=nosim/cafeaulaitA


More information about the XOM-interest mailing list