Hey Everyone,
Thank you for the responses to my previous e-mail. I see that that
NodeCreateRule would work.
However, I'm wondering how to use it. This is my first time parsing
XML, so please excuse my ignorance.
So, here's what I have:
Digester d = new Digester();
d.push(this);
d.addCallMethod("feed/entry", "addEntry", 2);
d.addCallParam("feed/entry/title", 0);
d.addCallParam("feed/entry/content/div", 1);
try {
d.parse(url.toString());
} catch(Exception e) {
e.printStackTrace();
}
How would I use NodeCreateRule to ignore tags? Or would I just set
that specific tags I want to parse and have it ignore the rest? A
code example would be best, if possible, please.
Thank you,
RJ
--
em: [EMAIL PROTECTED]
aim: dbhsibgeek
www: http://home.eckerd.edu/~nowlinrj
"Buttons are for idiots."
-- Theo de Raadt (/usr/src/usr.bin/mg/theo.c)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]