Skip to Content.
Sympa Menu

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

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Michael Kay <mike AT saxonica.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] getting rid of bold nodes from a parsed xhtmlDocument
  • Date: Tue, 07 Oct 2008 06:30:14 -0700

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




Archive powered by MHonArc 2.6.24.

Top of Page