I'm attempting to use the XML Reader to bring in spatial data that is stored in an XML file. The data is in small polygons that each have a set of 5 lat/long values for each vertex of the polygon in tag called <WKT> which is a child of a parent tag called <Record>. The <WKT> tag has several sibiling tags within the <Record> tag that are attributes with values of the polygon defined in <WKT> . I can get the record data into an attribute table by simply entering "Record" into Elements to Match in the parameters. However, I'm at a lost how I get the lat/long values added to the attribute table to define the polygons. Is there something I can add to the parameters of the XML reader to do this? Or would it take a seperate step? I have pasted in what's in one of these <WKT> tags below. Currently, when I only enter "Record" in Elements to Match, it puts everything within the <WKT> tage in a single column. Secondly, it adds the Geometry as "Point" when really they should be Polygon. Any help on this would be appreciated.
<WKT>POLYGON((-89.326434001719164 41.151389228099951,-89.326406223907568 41.151389228099752,-89.32640622391915 41.151334328651544,-89.326434001707554 41.151334328651316,-89.326434001719164 41.151389228099951))</WKT>