xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
[XOM-interest] Re: [tagsoup-friends] about Multiple body tags
- From: John Cowan <jcowan AT reutershealth.com>
- To: tagsoup-friends AT yahoogroups.com
- Cc: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: [XOM-interest] Re: [tagsoup-friends] about Multiple body tags
- Date: Sat, 28 May 2005 14:14:51 -0400
Luca Passani scripsit:
> I am using XOM's NodeFactory to parse raw HTML. My problem is that I am
> using the body closing tag
> as the cue point to start collecting statistics about a page. As you can
> imagine, the existence of multiple body tags
> totally screws up my strategy. Is there any way I can look-ahead and see
> if there are any body tags coming down the pipeline?
XSLT is your friend; so is the full use of the XOM model. You are trying
to strain the limits of a streaming API beyond what's reasonable.
--
John Cowan jcowan AT reutershealth.com www.ccil.org/~cowan
www.reutershealth.com
Any sufficiently-complicated C or Fortran program contains an ad-hoc,
informally-specified bug-ridden slow implementation of half of Common Lisp.
--Greenspun's Tenth Rule of Programming (rules 1-9 are unknown)
-
[XOM-interest] Re: [tagsoup-friends] about Multiple body tags,
Luca Passani, 05/28/2005
- [XOM-interest] Re: [tagsoup-friends] about Multiple body tags, John Cowan, 05/28/2005
-
Re: [XOM-interest] Re: [tagsoup-friends] about Multiple body tags,
Elliotte Harold, 05/28/2005
- Re: [XOM-interest] Re: [tagsoup-friends] about Multiple body tags, Luca Passani, 05/28/2005
Archive powered by MHonArc 2.6.24.