in reply to XML::Parser Tutorial
I realize this article was written some time ago, but it seems to still apply to XML::Parser
My question is: How do you parse a self containing element using this library? A web page I'm trying to parse is structured similar to the following:
Using XML::Parser in the same manner as you did in the article, did not work for me. I'm assuming this is because there is no start/end tag for "student"; it is self containing. I'm thinking that I might have to make my own parser, but if there is already one in this module I can use, I'm all for it :) TY, mike<class> <student name="Student1" race="Fast" age="Std" /> <student name="Student2" race="Slow" age="New" /> <student name="Student3" race="Okay" age="Old" /> </class>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: XML::Parser Tutorial
by Anonymous Monk on Jun 01, 2012 at 16:27 UTC |
In Section
Tutorials