Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] relevant to the discussion we were having the other day

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: passani AT eunet.no
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] relevant to the discussion we were having the other day
  • Date: Wed, 22 Sep 2004 22:21:32 +0200 (CEST)


http://www.tbray.org/ongoing/When/200x/2003/03/16/XML-Prog

in particular notice the place where the guy does
(which is very close to what I was trying to do with
XOM):

while (<STDIN>) {
next if (X<meta>X);
if (X<h1>|<h2>|<h3>|<h4>X)
{ $divert = 'head'; }
elsif (X<img src="/^(.*\.jpg)$/i>X)
{ &proc_jpeg($1); }
# and so on...
}

Luca





Archive powered by MHonArc 2.6.24.

Top of Page