I have XPath expression //@*[contains(., 'multiDataSeries')]
it is giving the nodes of which have attributes containing multiDataSeries. How do I find the just tag name of these nodes?
For example, it is giving the below results.
<processParameter name="multiDataSeries"> <lastModified isNull="true"/> </processParameter>
<processVariable name="multiDataSeriesP"> </processVariable>
<ns17:dataOutput xmlns:ns17="http://www.omg.org/spec/BPMN/20100524/MODEL" name="multiDataSeries" itemSubjectRef="itm.12.63a604e8-e026-4605-aae1-272b67822cc7" isCollection="true" id="2055.ad3b4033-e152-4060-871d-a360c3f21226"/>
<ns17:dataObject xmlns:ns17="http://www.omg.org/spec/BPMN/20100524/MODEL" itemSubjectRef="itm.12.63a604e8-e026-4605-aae1-272b67822cc7" isCollection="true" name="multiDataSeriesP" id="2056.401acef4-2a08-4d7a-a34f-5642cc73a329"> </ns17:dataObject>
My goal is to find just the tagNames in a list like below.
processParameter
processVariable
ns17:dataOutput
ns17:dataObjec