2 // Bridging header to access libxml2 html parsing from swift.
4 // First adjust some settings as described by http://redqueencoder.com/wrapping-libxml2-for-swift/
6 // * add to Xcode build settings “Header Search Paths”:
7 // $(SDKROOT)/usr/include/libxml2
8 // * add to Xcode build settings "Other Linker Flags."
11 // Also: https://github.com/SonoPlot/Swift-libxml/blob/master/LibXMLWrapperExample/LibXMLWrapperExample/Bridging-Header.h
13 #import <libxml/HTMLparser.h>
14 #import <libxml/xmlerror.h>
16 // static inline UInt32 xmlElementTypeToInt(xmlElementType type) {
17 // return (UInt32) type;