Hi I am having problem where I want to change element values inside XML tag but I am not able to find the suitable answer. In given XML file I want to modify the name of XML element "location_desc" and "process_id" to "loc.desc" and "proc.id" using python.Please suggest.
<MESSAGE
level="6"
parse="1"
parsedefvalue="1"
tableid="89"
id1="00926:02"
id2="stunnel"
eventcategory="1605000000"
summary=""
content="<@:*SYSVAL($MSGID,$ID1)><@msg:*PARMVAL($MSG)><@event_description:VERIFY OK> <agent>[<process_id>]: VERIFY OK: depth=<fld1>, <location_desc>"/>
No comments:
Post a Comment