I am working on a python script to create some feature classes from dbf tables. As part of the script I would like to pull two values (FGDC "publication date" and ArcGIS Spatial Reference ArcGIS Coordiante System "Projection") from the metadata of a linear referencing feature class and write them to a field in the feature class. I've looked at some of the modules that parse .xml files, but the linear referencing feature class doesn't have a standalone .xml. Below is the part of the script where i'd like to pull and calculate the values.
#Pull COORDSYS and MAPVERSION from RCI Metadata
#Calculate Values for Coordsys, Mapsource, MapVersion, publish date, CAR xfer date, coord xfer date
today = datetime.date.today()
pub_date = today.strftime("%m/%d/%y")
arcpy.CalculateField_management(input,"COORDSYS",XXX,"PYTHON_9.3")
arcpy.CalculateField_management(input,"MAPSOURCE",mapsource_ON,"PYTHON_9.3")
arcpy.CalculateField_management(input,"MAPVERSION",XXX,"PYTHON_9.3")
arcpy.CalculateField_management(input,"DTPUBLISHE",pub_date,"PYTHON_9.3")
arcpy.CalculateField_management(input,"DTCARXTRCT",pulldate,"PYTHON_9.3")
arcpy.CalculateField_management(input,"DTCOORDXTR",pub_date,"PYTHON_9.3")