Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

xml to excel python

import xml.etree.ElementTree as ET
import arcpy

xmlfile = 'D:/Working/Test/Test.xml'
element_tree = ET.parse(xmlfile)
root = element_tree.getroot()
agreement = root.find(".//agreementid").text
arcpy.AddMessage(agreement)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #xml #excel #python
ADD COMMENT
Topic
Name
6+8 =