# Useing the DateField not for what it was ment for

**URL:** https://forum.kirupa.com/t/useing-the-datefield-not-for-what-it-was-ment-for/136811
**Category:** Uncategorized
**Created:** [February 8, 2005, 6:36pm UTC](https://forum.kirupa.com/t/useing-the-datefield-not-for-what-it-was-ment-for/136811 "2005-02-08T18:36:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![woodarddr](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/woodarddr/32/1104_2.png) [@woodarddr](https://forum.kirupa.com/u/woodarddr)
#### Post date: [February 8, 2005, 6:36pm UTC](https://forum.kirupa.com/t/useing-the-datefield-not-for-what-it-was-ment-for/136811/1 "2005-02-08T18:36:04Z")

</div>

OK I have a personal project that I’m had in mind for about a year now but haven’t got close to figureing it out (sorry about spelling).

I want to take a XML file and load a journal entry  
example:journal.xml  
\<journal\>  
\<item\>  
\<id\>1\</id\>  
\<date\>1/2/02\</date\>  
\<journalEntry\>this is my first entry\</journalEntry\>  
\</item\>

```
&lt;item&gt;
&lt;id&gt;2&lt;/id&gt;

```

\<date\>1/3/02\</date\>  
\<journalEntry\>this is my 2nd entry\</journalEntry\>  
\</item\>

```
&lt;item&gt;
&lt;id&gt;3&lt;/id&gt;

```

\<date\>1/4/02\</date\>  
\<journalEntry\>this is my 3rd entry\</journalEntry\>  
\</item\>

\</journal\>

now if I take a dateField componet and a textbox componet along witht xml connector. How do I link it up with the datefield.

the datefield has a nice box to click on and pulls up a calender. I was to use that. I want it to goto my xml find that “date” and put the “journalEntry” into the textbox, with the date still showing.

but when I do it I don’t how to get the textBox to match with the date"

has anyone seen this used this way or am i using the DateField not for what it was ment for.

if you have any Ideas, solutions please let me know. It seems like its possable and not that far fetched.
