# How to write xml file into id and tag values into ignition

**URL:** <https://forum.inductiveautomation.com/t/how-to-write-xml-file-into-id-and-tag-values-into-ignition/69977>\
**Category:** Ignition\
**Created:** [February 16, 2023, 10:02pm UTC](https://forum.inductiveautomation.com/t/how-to-write-xml-file-into-id-and-tag-values-into-ignition/69977 "2023-02-16T22:02:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![randall\_moser](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@randall\_moser](https://forum.inductiveautomation.com/u/randall_moser)\
**Post date:** [February 16, 2023, 10:02pm UTC](https://forum.inductiveautomation.com/t/how-to-write-xml-file-into-id-and-tag-values-into-ignition/69977/1 "2023-02-16T22:02:03Z")

</div>

I want to read the xml tags from the device at 192.168.1.100/registers.xml  
into ignition and be able to refresh them. Any thought?

example of the modbus file below. it has more registers.

```auto
<xml device="KTA-282" firmwareversion="117">
<modbusregisters>
<register id="1">
<value>196</value>
</register>
<register id="2">
<value>0</value>
</register>
<register id="3">
<value>1865</value>
</register>

```

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [February 17, 2023, 2:37pm UTC](https://forum.inductiveautomation.com/t/how-to-write-xml-file-into-id-and-tag-values-into-ignition/69977/2 "2023-02-17T14:37:54Z")

</div>

> [@randall\_moser](#):
>
> `KTA-282`

Isn't this a modbus gateway (also, since the term 'modbusregisters' is an xml tag 😉 )?

You should be able to use the modbus driver and not have to deal with xml scraping.

---

<div class="post-metadata">

**Author:** ![randall\_moser](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@randall\_moser](https://forum.inductiveautomation.com/u/randall_moser)\
**Post date:** [March 28, 2023, 12:50am UTC](https://forum.inductiveautomation.com/t/how-to-write-xml-file-into-id-and-tag-values-into-ignition/69977/3 "2023-03-28T00:50:38Z")

</div>

I already use modbus just seeking a wsy to use xml files

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 28, 2023, 1:51am UTC](https://forum.inductiveautomation.com/t/how-to-write-xml-file-into-id-and-tag-values-into-ignition/69977/4 "2023-03-28T01:51:07Z")

</div>

So, a lot more traffic with a lot more processing required (on both ends). Why do you want to go backwards?
