Perl XML FAQ--2# XML - WWW明日之星
w*s
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
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