How to Use third-party class libraries for Dom parsing in XML Parsing

Source: Internet
Author: User

* Dom parsing uses gdataxmlnode, an open-source and efficient XML parsing tool provided by Google, which is 10 times faster than nsxmlparser.
Usage:

1: first import the system dynamic link library libxml2.2.dylib

InTargets-Summary-linked frameworks and librariesOrTargets-build phases-link binary with librariesAdd libxml2.2.dylib


2: Add/usr/include/libxml2 to the header search path in bulidsettings.

Next, you needTargets-build settings-search pathsOfUser header search pathsAdd/usr/include/libxml2 to the parameter


3: Add-lxml2 to other linker flags contain bulidset.pdf

Finally, some static Link Libraries may need to be referenced.Targets-build settings-linkingOfOther linker flags-Lxml2 is added to the parameter.

How to Use third-party class libraries for Dom resolution in XML parsing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.