it only works searcing with actual string. can't find the text when i use * . changing date and path strings, so they're not all the same.
ex.
for dA in arcpy.mapping.ListLayoutElements(mxd, "TEXT_ELEMENT"):
if dA.text == 'DATE: 10/10/2011':
dA.text = 'Date: <dyn type="date" format=""/>' THIS WORKS
for fp in arcpy.mapping.ListLayoutElements(mxd, "TEXT_ELEMENT"):
if fp.text == 'FILE: *':
fp.text = 'Document Path: <dyn type="document" property="path"/>' THIS DOESN'T WORK
Thanks in advance for any ideas.
Pete