w*****s 发帖数: 122 | 1 Q6: Is XML::Parser object oriented?
In short, yes. XML::Parser is a factory object that creates instances of
XML::Parser::Expat as needed.
Q7: Is XML::Parser based on the SAX API?
Nope. XML::Parser is based on Expat, a non-validating parser written in
C by James Clark. However, Eric Prud'hommeaux has developed a preliminary
implementation, W3C::SAX::XmlParser, which can be found at http://www.w3
.org/1999/02/26-modules/. Note that this implementation is not final since
Ken
Ma |
|