from fastapi import FastAPI
from xml.etree import ElementTree as ET
from lxml import etree
from io import StringIO
import lxml.etree
tree = lxml.etree.parse(“D:developmentmy-pythonpython-cvxml_data.xml”, parser = lxml.etree.XMLParser(encoding = “utf-8”))
r = tree.xpath(‘./MCCI_IN200100UV01/PORR_IN049016UV/creationTime/@value’)
print(r)
i need xpath exact value
New contributor
Ajithkumar Palani is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.