# How to edit an xml attribute

**URL:** <https://forum.kirupa.com/t/how-to-edit-an-xml-attribute/268355>\
**Category:** Uncategorized\
**Created:** [August 12, 2008, 11:21pm UTC](https://forum.kirupa.com/t/how-to-edit-an-xml-attribute/268355 "2008-08-12T23:21:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![badFortune](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@badFortune](https://forum.kirupa.com/u/badFortune)\
**Post date:** [August 12, 2008, 11:21pm UTC](https://forum.kirupa.com/t/how-to-edit-an-xml-attribute/268355/1 "2008-08-12T23:21:03Z")

</div>

Hi guys,

Can somebody tell me how to go about editing an xml attribute?

I can edit the main child like so…

```auto
my_xml.appendChild("Text goes here");

```

But I can’t figure out how to edit one of its attributes ( the start and end attributes below ).

\<p start=“00:00:00” end=“99:99:99s”\>Text goes here\</p\>;

Thanks
