# Xml Menu, how to open in the same window?

**URL:** <https://forum.kirupa.com/t/xml-menu-how-to-open-in-the-same-window/281390>\
**Category:** flash\
**Created:** [February 8, 2009, 9:47pm UTC](https://forum.kirupa.com/t/xml-menu-how-to-open-in-the-same-window/281390 "2009-02-08T21:47:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandra\_svensson](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@sandra\_svensson](https://forum.kirupa.com/u/sandra_svensson)\
**Post date:** [February 8, 2009, 9:47pm UTC](https://forum.kirupa.com/t/xml-menu-how-to-open-in-the-same-window/281390/1 "2009-02-08T21:47:19Z")

</div>

Hey guys!!

I’ve made a menu in xml, and donno how the code should look like If I want the links to open in the same window (target="\_parent") were should I put this in my code?

```auto
<item Name="Link" Action ="getURL" Target="/link.html"></item>

```

Cheers!
