# I have a XML file that I needed to read it on real time by using NOD RED

**URL:** <https://discourse.nodered.org/t/i-have-a-xml-file-that-i-needed-to-read-it-on-real-time-by-using-nod-red/59674>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [10 March 2022 18:22 UTC](https://discourse.nodered.org/t/i-have-a-xml-file-that-i-needed-to-read-it-on-real-time-by-using-nod-red/59674 "2022-03-10T18:22:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![fathi](https://avatars.discourse-cdn.com/v4/letter/f/a9a28c/32.png) [@fathi](https://discourse.nodered.org/u/fathi)\
**Post date:** [10 March 2022 18:22 UTC](https://discourse.nodered.org/t/i-have-a-xml-file-that-i-needed-to-read-it-on-real-time-by-using-nod-red/59674/1 "2022-03-10T18:22:30Z")

</div>

I am stuck on how to read a XML file on real time using NODE RED I will attach the XML file if its needed

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [10 March 2022 18:38 UTC](https://discourse.nodered.org/t/i-have-a-xml-file-that-i-needed-to-read-it-on-real-time-by-using-nod-red/59674/2 "2022-03-10T18:38:13Z")

</div>

> [@fathi](#):
>
> I am stuck on how to read a XML file

What have you tried so far?

> [@fathi](#):
>
> on real time

What do you mean by this?

---

<div class="post-metadata">

**Author:** ![fathi](https://avatars.discourse-cdn.com/v4/letter/f/a9a28c/32.png) [@fathi](https://discourse.nodered.org/u/fathi)\
**Post date:** [10 March 2022 19:06 UTC](https://discourse.nodered.org/t/i-have-a-xml-file-that-i-needed-to-read-it-on-real-time-by-using-nod-red/59674/3 "2022-03-10T19:06:41Z")

</div>

I have data in XML file so i need to present it as chart by using NOD RED

---

<div class="post-metadata">

**Author:** ![fathi](https://avatars.discourse-cdn.com/v4/letter/f/a9a28c/32.png) [@fathi](https://discourse.nodered.org/u/fathi)\
**Post date:** [10 March 2022 19:10 UTC](https://discourse.nodered.org/t/i-have-a-xml-file-that-i-needed-to-read-it-on-real-time-by-using-nod-red/59674/4 "2022-03-10T19:10:46Z")

</div>

there experiment is this article so i need the code of it .  
Low-Cost Precision Monitoring System of Machine Tools for SMEs  
kanglin Xing

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [10 March 2022 19:23 UTC](https://discourse.nodered.org/t/i-have-a-xml-file-that-i-needed-to-read-it-on-real-time-by-using-nod-red/59674/5 "2022-03-10T19:23:00Z")

</div>

> [@fathi](#):
>
> I have data in XML file

Yes, you said that already.

> [@fathi](#):
>
> i need to present it as chart by using NOD RED

What part are you stuck on?

- have you managed to read the XML into node-red?
- have you managed to convert the XML to JS Object?
- Have you got anything showing in chart?

> [@fathi](#):
>
> there experiment is this article so i need the code of it .  
> Low-Cost Precision Monitoring System of Machine Tools for SMEs

I guess you mean [this article](https://www.sciencedirect.com/science/article/pii/S221282712100127X)? I dont think the author is on this forum & that article doesnt seem to have any attachments

---

<div class="post-metadata">

**Author:** ![fathi](https://avatars.discourse-cdn.com/v4/letter/f/a9a28c/32.png) [@fathi](https://discourse.nodered.org/u/fathi)\
**Post date:** [10 March 2022 19:27 UTC](https://discourse.nodered.org/t/i-have-a-xml-file-that-i-needed-to-read-it-on-real-time-by-using-nod-red/59674/6 "2022-03-10T19:27:11Z")

</div>

Yes brother so what can i have to do?  
I need this experiment code to compare it with my experiment

---

<div class="post-metadata">

**Author:** ![fathi](https://avatars.discourse-cdn.com/v4/letter/f/a9a28c/32.png) [@fathi](https://discourse.nodered.org/u/fathi)\
**Post date:** [10 March 2022 19:31 UTC](https://discourse.nodered.org/t/i-have-a-xml-file-that-i-needed-to-read-it-on-real-time-by-using-nod-red/59674/7 "2022-03-10T19:31:51Z")

</div>

I have you managed to read the XML into node-red by using C# but i need to compare with node red

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [10 March 2022 19:44 UTC](https://discourse.nodered.org/t/i-have-a-xml-file-that-i-needed-to-read-it-on-real-time-by-using-nod-red/59674/8 "2022-03-10T19:44:15Z")

</div>

Sorry but what you are saying makes no sense.

An XML file can be read directly by Node-RED using the core file-in and XML nodes. But what that has to do with "compare with Node-RED", we can't understand. If you mean that you want to compare two different versions of an XML file, that would make sense - is that what you are trying to do?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [10 March 2022 19:47 UTC](https://discourse.nodered.org/t/i-have-a-xml-file-that-i-needed-to-read-it-on-real-time-by-using-nod-red/59674/9 "2022-03-10T19:47:55Z")

</div>


