Hi,
I am trying to parse an XML file that it stored in Sharepoint.
The file is loaded ok and when I check the first compose statement, the output is the full XML file.
However when I use xpath in a second compose step to search for a string/node the input is showing as [ ], i.e. empty.
Any ideas anyone, please!
Solved! Go to Solution.
Hi @MartinHutchcpa ,
Could you share a screenshot of the Flow configuration and details of expression?
If possible, could you provide a similar xml file for us to do further testing?
Please check if File content is encoded. If so, you may also need to use base64ToString() function to convert File content to a String value first.
Also for Parse XML data, please refer to similar thread and see if it helps:
Having-trouble-with-xPath-please-help
Parse-XML-using-Microsoft-Flow
Best Regards,
The question is whether the output represents an XML document or just a string formatted as an XML document. To use Xpath I think it needs to be an actual XMLDoc. Take a look at the following other post and note that in order to use XPath they encolse the output of the original Compose in an XML() function. Are you doing something similar?
Hi @MartinHutchcpa ,
Could you share a screenshot of the Flow configuration and details of expression?
If possible, could you provide a similar xml file for us to do further testing?
Please check if File content is encoded. If so, you may also need to use base64ToString() function to convert File content to a String value first.
Also for Parse XML data, please refer to similar thread and see if it helps:
Having-trouble-with-xPath-please-help
Parse-XML-using-Microsoft-Flow
Best Regards,
Thanks, it was the base64tostring that I needed to incorporate.
Join digitally, March 2โ4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
80 | |
55 | |
55 | |
43 | |
39 |
User | Count |
---|---|
83 | |
81 | |
76 | |
65 | |
42 |