Home  >  Q&A  >  body text

自己写一个从流里解析xml的c++代码需要多久?

自己写一个从流里解析xml的c++代码需要多久?

PHPzPHPz2764 days ago523

reply all(1)I'll reply

  • PHPz

    PHPz2017-04-17 13:54:04

    Since you are talking about parsing from the stream, let’s assume that you are talking about parsing in SAX. You can read the source code of Qt’s SAX parsing part. There are still a lot of things, otherwise Qt will not parse XML alone. Split into a module.
    1) Character set
    2) Is it efficient
    3) Is it easy to expand

    reply
    0
  • Cancelreply